https://github.com/chlodalejandro/the-c-programming-language
My solutions for the exercises in Brain Kernighan and Dennis Ritchie's 'The C Programming Language, Second Edition'.
https://github.com/chlodalejandro/the-c-programming-language
ansi-c c c89 the-c-programming-language
Last synced: 4 months ago
JSON representation
My solutions for the exercises in Brain Kernighan and Dennis Ritchie's 'The C Programming Language, Second Edition'.
- Host: GitHub
- URL: https://github.com/chlodalejandro/the-c-programming-language
- Owner: ChlodAlejandro
- License: unlicense
- Created: 2022-12-12T12:47:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T06:42:03.000Z (over 3 years ago)
- Last Synced: 2025-03-14T01:16:22.477Z (about 1 year ago)
- Topics: ansi-c, c, c89, the-c-programming-language
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The C Programming Language
These are my solutions for the exercises in Brain Kernighan and
Dennis Ritchie's *The C Programming Language, Second Edition*.
*The C Programming Language* (particularly its second edition) documented
usage instructions for... well... the C programming language, as of its
1989 standardized version, known as [ANSI C](https://en.wikipedia.org/wiki/ANSI_C).
Exercises can be found across the book at the end of chapters. My answers
to these exercises have been made public here.
## The Book
The exact book I'm using is:
* Kernighan, B. W., & Ritchie, D. M. (1988). The C programming language (Second Edition). Prentice-Hall. ISBN 0-13-110370-9.
* The specific book I'm using is from the Mapúa University Main Libary, [QA76.73.C15K47 1998](https://mu.primo.exlibrisgroup.com/permalink/63MU_INST/tigdca/alma991000679789707136).
* You can buy a copy of the book from [Amazon](https://www.amazon.com/C-Programming-Language-2nd-Ed/dp/0131103709) (hardbound).
The C Programming Language is copyrighted by Bell Telephone Laboratories,
Incorporated. Code from the book has been written from the ground up and
deviates from the original instruction while retaining its original purpose.
## Running
This assumes you have `gcc` installed and is accessible from the standard Windows
command line (`cmd.exe`). To run exercise 1-1:
```cmd
run.bat 1-1
```
You can guess how to run the others from there.
## License
I claim no originality from the code here, as it is patterned and produced
from the instructions of a copyrighted work. Wherever there may be sufficient
originality, I dedicate the code to the public domain.