├── .gitignore ├── README.md ├── algorithms ├── array-summation.c ├── arraylist.c ├── avl-tree.c ├── bfs.c ├── binary-heap.c ├── binary-search.c ├── bits.c ├── bitwise-addition.c ├── bloom-filter.c ├── bubble-sort.c ├── compare-int.c ├── compare-int.h ├── compare-pointer.c ├── compare-pointer.h ├── compare-string.c ├── compare-string.h ├── dice-monte-carlo.c ├── dice.c ├── experiment.c ├── generate_rand.c ├── hash-int.c ├── hash-int.h ├── hash-pointer.c ├── hash-pointer.h ├── hash-string.c ├── hash-string.h ├── hash-table.c ├── hash-table.h ├── insertion-sort.c ├── lcs.c ├── linear-one-variable.c ├── list.c ├── list.h ├── merge-sort.c ├── popcount.c ├── queue.c ├── queue.h ├── randomness.c ├── rb-tree.c ├── rb-tree.h ├── reverse-string.c ├── same-sign-test.c ├── selection-sort.c ├── set.c ├── set.h ├── slist.c ├── slist.h ├── smiling-face.c ├── solve-linear.c ├── stack.c ├── string-reverse.c ├── string-sort.c ├── trie.c ├── trie.h └── utf-8-check.c ├── auto ├── htoi.c ├── insertion-sort-asc.c ├── insertion-sort-desc.c └── reverse.c ├── exercises ├── chapter1 │ ├── 1-3-degrees-fc.c │ ├── 1-4-degrees-cf.c │ ├── 1-6-getchar-putchar.c │ ├── 1-8-charcount.c │ ├── 1-9-echo-whitespace.c │ └── hello.c ├── chapter2 │ └── getbits.c ├── chapter5 │ ├── exercise-5-8-day-converter.c │ └── exercise-5-9-day-converter.c └── chapter7 │ ├── code-7-1-lower-stream.c │ ├── exercise-7-1-upper-lower-by-command.c │ ├── exercise-7-2-sensible-input-printing.c │ ├── structtest.c │ └── testfile.txt └── safety.md /.gitignore: -------------------------------------------------------------------------------- 1 | c-note.iml 2 | /.idea 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/README.md -------------------------------------------------------------------------------- /algorithms/array-summation.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/array-summation.c -------------------------------------------------------------------------------- /algorithms/arraylist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/arraylist.c -------------------------------------------------------------------------------- /algorithms/avl-tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/avl-tree.c -------------------------------------------------------------------------------- /algorithms/bfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/bfs.c -------------------------------------------------------------------------------- /algorithms/binary-heap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/binary-heap.c -------------------------------------------------------------------------------- /algorithms/binary-search.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/binary-search.c -------------------------------------------------------------------------------- /algorithms/bits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/bits.c -------------------------------------------------------------------------------- /algorithms/bitwise-addition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/bitwise-addition.c -------------------------------------------------------------------------------- /algorithms/bloom-filter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/bloom-filter.c -------------------------------------------------------------------------------- /algorithms/bubble-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/bubble-sort.c -------------------------------------------------------------------------------- /algorithms/compare-int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-int.c -------------------------------------------------------------------------------- /algorithms/compare-int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-int.h -------------------------------------------------------------------------------- /algorithms/compare-pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-pointer.c -------------------------------------------------------------------------------- /algorithms/compare-pointer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-pointer.h -------------------------------------------------------------------------------- /algorithms/compare-string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-string.c -------------------------------------------------------------------------------- /algorithms/compare-string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/compare-string.h -------------------------------------------------------------------------------- /algorithms/dice-monte-carlo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/dice-monte-carlo.c -------------------------------------------------------------------------------- /algorithms/dice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/dice.c -------------------------------------------------------------------------------- /algorithms/experiment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/experiment.c -------------------------------------------------------------------------------- /algorithms/generate_rand.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/generate_rand.c -------------------------------------------------------------------------------- /algorithms/hash-int.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-int.c -------------------------------------------------------------------------------- /algorithms/hash-int.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-int.h -------------------------------------------------------------------------------- /algorithms/hash-pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-pointer.c -------------------------------------------------------------------------------- /algorithms/hash-pointer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-pointer.h -------------------------------------------------------------------------------- /algorithms/hash-string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-string.c -------------------------------------------------------------------------------- /algorithms/hash-string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-string.h -------------------------------------------------------------------------------- /algorithms/hash-table.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-table.c -------------------------------------------------------------------------------- /algorithms/hash-table.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/hash-table.h -------------------------------------------------------------------------------- /algorithms/insertion-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/insertion-sort.c -------------------------------------------------------------------------------- /algorithms/lcs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/lcs.c -------------------------------------------------------------------------------- /algorithms/linear-one-variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/linear-one-variable.c -------------------------------------------------------------------------------- /algorithms/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/list.c -------------------------------------------------------------------------------- /algorithms/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/list.h -------------------------------------------------------------------------------- /algorithms/merge-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/merge-sort.c -------------------------------------------------------------------------------- /algorithms/popcount.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/popcount.c -------------------------------------------------------------------------------- /algorithms/queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/queue.c -------------------------------------------------------------------------------- /algorithms/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/queue.h -------------------------------------------------------------------------------- /algorithms/randomness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/randomness.c -------------------------------------------------------------------------------- /algorithms/rb-tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/rb-tree.c -------------------------------------------------------------------------------- /algorithms/rb-tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/rb-tree.h -------------------------------------------------------------------------------- /algorithms/reverse-string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/reverse-string.c -------------------------------------------------------------------------------- /algorithms/same-sign-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/same-sign-test.c -------------------------------------------------------------------------------- /algorithms/selection-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/selection-sort.c -------------------------------------------------------------------------------- /algorithms/set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/set.c -------------------------------------------------------------------------------- /algorithms/set.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/set.h -------------------------------------------------------------------------------- /algorithms/slist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/slist.c -------------------------------------------------------------------------------- /algorithms/slist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/slist.h -------------------------------------------------------------------------------- /algorithms/smiling-face.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/smiling-face.c -------------------------------------------------------------------------------- /algorithms/solve-linear.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/solve-linear.c -------------------------------------------------------------------------------- /algorithms/stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/stack.c -------------------------------------------------------------------------------- /algorithms/string-reverse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/string-reverse.c -------------------------------------------------------------------------------- /algorithms/string-sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/string-sort.c -------------------------------------------------------------------------------- /algorithms/trie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/trie.c -------------------------------------------------------------------------------- /algorithms/trie.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/trie.h -------------------------------------------------------------------------------- /algorithms/utf-8-check.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/algorithms/utf-8-check.c -------------------------------------------------------------------------------- /auto/htoi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/auto/htoi.c -------------------------------------------------------------------------------- /auto/insertion-sort-asc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/auto/insertion-sort-asc.c -------------------------------------------------------------------------------- /auto/insertion-sort-desc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/auto/insertion-sort-desc.c -------------------------------------------------------------------------------- /auto/reverse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/auto/reverse.c -------------------------------------------------------------------------------- /exercises/chapter1/1-3-degrees-fc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/1-3-degrees-fc.c -------------------------------------------------------------------------------- /exercises/chapter1/1-4-degrees-cf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/1-4-degrees-cf.c -------------------------------------------------------------------------------- /exercises/chapter1/1-6-getchar-putchar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/1-6-getchar-putchar.c -------------------------------------------------------------------------------- /exercises/chapter1/1-8-charcount.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/1-8-charcount.c -------------------------------------------------------------------------------- /exercises/chapter1/1-9-echo-whitespace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/1-9-echo-whitespace.c -------------------------------------------------------------------------------- /exercises/chapter1/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter1/hello.c -------------------------------------------------------------------------------- /exercises/chapter2/getbits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter2/getbits.c -------------------------------------------------------------------------------- /exercises/chapter5/exercise-5-8-day-converter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter5/exercise-5-8-day-converter.c -------------------------------------------------------------------------------- /exercises/chapter5/exercise-5-9-day-converter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter5/exercise-5-9-day-converter.c -------------------------------------------------------------------------------- /exercises/chapter7/code-7-1-lower-stream.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter7/code-7-1-lower-stream.c -------------------------------------------------------------------------------- /exercises/chapter7/exercise-7-1-upper-lower-by-command.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter7/exercise-7-1-upper-lower-by-command.c -------------------------------------------------------------------------------- /exercises/chapter7/exercise-7-2-sensible-input-printing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter7/exercise-7-2-sensible-input-printing.c -------------------------------------------------------------------------------- /exercises/chapter7/structtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter7/structtest.c -------------------------------------------------------------------------------- /exercises/chapter7/testfile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/exercises/chapter7/testfile.txt -------------------------------------------------------------------------------- /safety.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwasham/c-note/HEAD/safety.md --------------------------------------------------------------------------------