├── .gitignore ├── Chapter1 ├── a.out ├── exercise1.10.c ├── exercise1.12.c ├── exercise1.13.c ├── exercise1.14.c ├── exercise1.15.c ├── exercise1.17.c ├── exercise1.18.c ├── exercise1.19.c ├── exercise1.3.c ├── exercise1.4.c ├── exercise1.5.1.c ├── exercise1.5.c ├── exercise1.6.c ├── exercise1.7.c ├── exercise1.8.c ├── exercise1.9.c ├── guide_exercise1.3.c ├── hello.c └── print_longest_line.c ├── Chapter2 ├── a.out ├── exercise2.1.c ├── exercise2.10.c ├── exercise2.2.c ├── exercise2.3.c ├── exercise2.4.c ├── exercise2.5.c ├── exercise2.6.c ├── exercise2.7.c ├── exercise2.8.c ├── exercise2.9.c └── solution_from_internet2.8.c ├── Chapter3 ├── a.out ├── exercise3.1.1.c ├── exercise3.1.c ├── exercise3.2.c └── exercise3.3.c ├── Chapter4 ├── include │ ├── exercise4_1.h │ ├── exercise4_2.h │ └── exercise4_3_to_5.h └── src │ ├── exercise4_1.c │ ├── exercise4_2.c │ ├── exercise4_3_to_5.c │ ├── exercises │ ├── main │ ├── main.c │ ├── makefile │ └── obj │ ├── exercise4.1.o │ ├── exercise4.2.o │ ├── exercise4_1.o │ ├── exercise4_2.o │ ├── exercise4_3_8.o │ └── main.o └── Chapter5 ├── include ├── exercise5.1.h ├── exercise5.10.h ├── exercise5.2.h ├── exercise5.3.h ├── exercise5.4.h └── exercise5.5.h └── src ├── exercise5.1.c ├── exercise5.10 ├── exercise5.10.c ├── exercise5.2.c ├── exercise5.3.c ├── exercise5.4.c ├── exercise5.5.c ├── main ├── main.c ├── makefile └── obj ├── exercise5.1.o ├── exercise5.10.o ├── exercise5.2.o ├── exercise5.3.o ├── exercise5.4.o ├── exercise5.5.o └── main.o /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | CMakeLists.txt 3 | cmake-build-debug 4 | -------------------------------------------------------------------------------- /Chapter1/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/a.out -------------------------------------------------------------------------------- /Chapter1/exercise1.10.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.10.c -------------------------------------------------------------------------------- /Chapter1/exercise1.12.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.12.c -------------------------------------------------------------------------------- /Chapter1/exercise1.13.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.13.c -------------------------------------------------------------------------------- /Chapter1/exercise1.14.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.14.c -------------------------------------------------------------------------------- /Chapter1/exercise1.15.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.15.c -------------------------------------------------------------------------------- /Chapter1/exercise1.17.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.17.c -------------------------------------------------------------------------------- /Chapter1/exercise1.18.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.18.c -------------------------------------------------------------------------------- /Chapter1/exercise1.19.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.19.c -------------------------------------------------------------------------------- /Chapter1/exercise1.3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.3.c -------------------------------------------------------------------------------- /Chapter1/exercise1.4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.4.c -------------------------------------------------------------------------------- /Chapter1/exercise1.5.1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.5.1.c -------------------------------------------------------------------------------- /Chapter1/exercise1.5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.5.c -------------------------------------------------------------------------------- /Chapter1/exercise1.6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.6.c -------------------------------------------------------------------------------- /Chapter1/exercise1.7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.7.c -------------------------------------------------------------------------------- /Chapter1/exercise1.8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.8.c -------------------------------------------------------------------------------- /Chapter1/exercise1.9.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/exercise1.9.c -------------------------------------------------------------------------------- /Chapter1/guide_exercise1.3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/guide_exercise1.3.c -------------------------------------------------------------------------------- /Chapter1/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | main() 4 | { 5 | printf("hello, world\n"); 6 | } 7 | -------------------------------------------------------------------------------- /Chapter1/print_longest_line.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter1/print_longest_line.c -------------------------------------------------------------------------------- /Chapter2/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/a.out -------------------------------------------------------------------------------- /Chapter2/exercise2.1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.1.c -------------------------------------------------------------------------------- /Chapter2/exercise2.10.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.10.c -------------------------------------------------------------------------------- /Chapter2/exercise2.2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.2.c -------------------------------------------------------------------------------- /Chapter2/exercise2.3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.3.c -------------------------------------------------------------------------------- /Chapter2/exercise2.4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.4.c -------------------------------------------------------------------------------- /Chapter2/exercise2.5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.5.c -------------------------------------------------------------------------------- /Chapter2/exercise2.6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.6.c -------------------------------------------------------------------------------- /Chapter2/exercise2.7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.7.c -------------------------------------------------------------------------------- /Chapter2/exercise2.8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.8.c -------------------------------------------------------------------------------- /Chapter2/exercise2.9.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/exercise2.9.c -------------------------------------------------------------------------------- /Chapter2/solution_from_internet2.8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter2/solution_from_internet2.8.c -------------------------------------------------------------------------------- /Chapter3/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter3/a.out -------------------------------------------------------------------------------- /Chapter3/exercise3.1.1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter3/exercise3.1.1.c -------------------------------------------------------------------------------- /Chapter3/exercise3.1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter3/exercise3.1.c -------------------------------------------------------------------------------- /Chapter3/exercise3.2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter3/exercise3.2.c -------------------------------------------------------------------------------- /Chapter3/exercise3.3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter3/exercise3.3.c -------------------------------------------------------------------------------- /Chapter4/include/exercise4_1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/include/exercise4_1.h -------------------------------------------------------------------------------- /Chapter4/include/exercise4_2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/include/exercise4_2.h -------------------------------------------------------------------------------- /Chapter4/include/exercise4_3_to_5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/include/exercise4_3_to_5.h -------------------------------------------------------------------------------- /Chapter4/src/exercise4_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/exercise4_1.c -------------------------------------------------------------------------------- /Chapter4/src/exercise4_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/exercise4_2.c -------------------------------------------------------------------------------- /Chapter4/src/exercise4_3_to_5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/exercise4_3_to_5.c -------------------------------------------------------------------------------- /Chapter4/src/exercises: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/exercises -------------------------------------------------------------------------------- /Chapter4/src/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/main -------------------------------------------------------------------------------- /Chapter4/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/main.c -------------------------------------------------------------------------------- /Chapter4/src/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/makefile -------------------------------------------------------------------------------- /Chapter4/src/obj/exercise4.1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/exercise4.1.o -------------------------------------------------------------------------------- /Chapter4/src/obj/exercise4.2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/exercise4.2.o -------------------------------------------------------------------------------- /Chapter4/src/obj/exercise4_1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/exercise4_1.o -------------------------------------------------------------------------------- /Chapter4/src/obj/exercise4_2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/exercise4_2.o -------------------------------------------------------------------------------- /Chapter4/src/obj/exercise4_3_8.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/exercise4_3_8.o -------------------------------------------------------------------------------- /Chapter4/src/obj/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter4/src/obj/main.o -------------------------------------------------------------------------------- /Chapter5/include/exercise5.1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/include/exercise5.1.h -------------------------------------------------------------------------------- /Chapter5/include/exercise5.10.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter5/include/exercise5.2.h: -------------------------------------------------------------------------------- 1 | #include "stdio.h" 2 | 3 | extern int exercise5_2(void); -------------------------------------------------------------------------------- /Chapter5/include/exercise5.3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/include/exercise5.3.h -------------------------------------------------------------------------------- /Chapter5/include/exercise5.4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/include/exercise5.4.h -------------------------------------------------------------------------------- /Chapter5/include/exercise5.5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/include/exercise5.5.h -------------------------------------------------------------------------------- /Chapter5/src/exercise5.1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.1.c -------------------------------------------------------------------------------- /Chapter5/src/exercise5.10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.10 -------------------------------------------------------------------------------- /Chapter5/src/exercise5.10.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.10.c -------------------------------------------------------------------------------- /Chapter5/src/exercise5.2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.2.c -------------------------------------------------------------------------------- /Chapter5/src/exercise5.3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.3.c -------------------------------------------------------------------------------- /Chapter5/src/exercise5.4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.4.c -------------------------------------------------------------------------------- /Chapter5/src/exercise5.5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/exercise5.5.c -------------------------------------------------------------------------------- /Chapter5/src/main: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/main -------------------------------------------------------------------------------- /Chapter5/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/main.c -------------------------------------------------------------------------------- /Chapter5/src/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/makefile -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.1.o -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.10.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.10.o -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.2.o -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.3.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.3.o -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.4.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.4.o -------------------------------------------------------------------------------- /Chapter5/src/obj/exercise5.5.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/exercise5.5.o -------------------------------------------------------------------------------- /Chapter5/src/obj/main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/double-o-z/TheCProgramming_KandR/HEAD/Chapter5/src/obj/main.o --------------------------------------------------------------------------------