1
0
mirror of https://github.com/krislamo/knrc.git synced 2025-09-11 16:39:28 +00:00

36 Commits

Author SHA1 Message Date
da9de48bac Exercise 1-19. Write a function reverse(s) 2021-12-02 20:29:00 -05:00
c6070adb67 Exercise 1-18. Remove trailing blanks and tabs 2021-11-30 01:43:24 -05:00
42a0b5413b Exercise 1-17. Print input lines greater than 80 2021-11-30 00:04:36 -05:00
f254c6e67e Exercise 1-16. Print arbitrarily long input lines 2021-11-29 22:53:44 -05:00
9fd4d3db68 Character array example 2021-11-23 20:48:37 -05:00
7825fcd167 Exercise 1-15. Make temp. conversion function 2021-11-23 00:52:13 -05:00
984c019e14 Function example 2021-11-23 00:31:57 -05:00
f232d42ece Exercise 1-13. Vertical histogram 2021-11-20 02:40:30 -05:00
04ac11bea1 Exercise 1-13. Horizontal histogram 2021-11-20 00:26:15 -05:00
35dae8afaf Arrays example 2021-11-14 21:02:09 -05:00
0cc240323a Exercise 1-12. one word per line 2021-11-13 00:30:40 -05:00
0c2d0fae2b Exercise 1-11. test the word count program 2021-11-12 23:55:56 -05:00
d064db2b17 Word counting example 2021-11-12 22:58:29 -05:00
c24a724efb Simplify Makefile to compile all C sources 2021-11-12 21:02:45 -05:00
d8a70f8b58 Exercise 1-10. replace with escape codes 2021-11-11 23:30:43 -05:00
a8ca4de90f Exercise 1-9. Replace multiple blanks with one 2021-11-11 23:04:06 -05:00
93acdbe7e9 Exercise 1-8. count blanks, tabs, and newlines 2021-11-09 00:51:39 -05:00
6bf093f44f Line counting example 2021-11-09 00:36:42 -05:00
3512ae49ab Character counting example v2 2021-11-09 00:20:01 -05:00
72093b7232 Character counting example 2021-11-05 21:29:39 -04:00
979467565f Exercise 1-6 and 1-7. expression = 1, and EOF = -1 2021-11-05 21:17:39 -04:00
7099cc732e Example of a cleaner IO implementation 2021-11-05 21:01:14 -04:00
dcdc220259 Textbook example of copying input into output 2021-11-05 20:54:19 -04:00
fe248c5a30 Don't bury magic numbers! 2021-11-05 20:42:05 -04:00
f88aa3d25f Add note on Exercise 1-5 2021-11-05 20:33:02 -04:00
588969b09f Exercise 1-5. print the table in reverse order 2021-11-05 20:29:35 -04:00
ee5bcb81ce Add note on Exercise 1-4 2021-11-04 00:12:43 -04:00
93126a8207 Exercise 1-4. print Celsius to Fahrenheit table 2021-11-03 23:53:07 -04:00
c9506f8dcb Add notes in README 2021-11-03 21:29:25 -04:00
0893987235 Exercise 1-3. print a heading above the table 2021-11-03 02:34:51 -04:00
8ba629852e For loop with less variables 2021-11-03 02:09:25 -04:00
0d48636cdc Add the second version formatting 2021-11-03 02:00:55 -04:00
e01d287e88 Add "make clean" to remove binaries 2021-11-03 01:20:54 -04:00
e7e2367bd7 Higher precision conversion table 2021-11-03 00:58:39 -04:00
9a193d84f1 Variables and arithmetic 2021-11-03 00:37:32 -04:00
3e078042a4 Compile simple stdout message
I set a return type on the main function to clear a GCC warning
in a slight deviation from the book.
2021-11-03 00:02:07 -04:00