Giter Site home page Giter Site logo

williamgherman / c-solutions Goto Github PK

View Code? Open in Web Editor NEW
487.0 11.0 199.0 467 KB

My Solutions to K. N. King's "C Programming: A Modern Approach", second edition

License: GNU General Public License v3.0

C 96.48% Makefile 2.91% C++ 0.61%
c education solutions exercice exercise king

c-solutions's Introduction

c-solutions

My complete solutions to the exercises in K. N. King's "C Programming: A Modern Approach", second edition.

Information

The solutions to the exercises are complete, including the first exercises on chapter 2 to the last program of chapter 27. Modified code from the book has been included under fair use and with the explicit copyright notice included in relevant files.

My solutions aim to be as complete as possible with little ambiguity or cluttering. The complete exercise questions will also be provided, and the solutions will be compiled as directed from the book.

All testing was done on a x86_64 Linux system running GCC 7.2.0 or greater. The compiler has been set to run the C89 or C99 standard unless otherwise noted:

$ gcc filename.c -o filename.o -Wall -Wextra -Wpedantic -std=c89
$ gcc filename.c -o filename.o -Wall -Wextra -Wpedantic -std=c99

Note that for all exercises or projects that require the <math.h> header, linkage in gcc is required, i.e., to use the -lm option. Makefiles are provided for such programs, and Makefiles are also provided for projects consisting of multiple files.

License

Code from the book has the copyright notice as stated in book-notice.txt.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.