Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-15 | Solve Exercise 4-12: Recursive itoa() | zlg | 1 | -0/+72 | |
2013-07-03 | Solve Exercise 4-11: getop() without ungetch() | zlg | 1 | -0/+263 | |
2013-06-27 | Solve Exercise 4-10: getline()-based calculator | zlg | 1 | -0/+276 | |
2013-06-26 | Solve Exercise 4-9: Pushed EOF and [un]getch() | zlg | 1 | -0/+284 | |
2013-06-24 | Solve Exercise 4-8: Single character buffer | zlg | 1 | -0/+281 | |
2013-06-22 | Solve Exercise 4-7: ungets() | zlg | 2 | -2/+278 | |
2013-06-21 | Solve Exercise 4-6: Variable support | zlg | 1 | -0/+272 | |
2013-06-19 | Solve Exercise 4-5: adding sin(), exp(), pow() | zlg | 1 | -0/+216 | |
2013-06-19 | Solve Exercise 4-4: Basic stack manipulation | zlg | 1 | -0/+201 | |
2013-06-18 | Solve Exercise 4-3: Add modulus to RPN calculator | zlg | 1 | -0/+147 | |
2013-05-08 | Solve Exercise 4-2: atof() enhanced | zlg | 1 | -0/+81 | |
2013-05-05 | Solve Exercise 4-1: strrindex() | zlg | 1 | -0/+87 | |
2013-04-23 | Add exercise descriptions and answers for ch1 | zlg | 13 | -51/+158 | |
* Corrected behavior in solutions for 1-9 and 1-23 | |||||
2013-04-23 | Solve Exercise 3-6: itoa (3 arg version) | zlg | 1 | -0/+67 | |
2013-04-20 | Solve Exercise 3-5: itob | zlg | 1 | -0/+85 | |
2013-04-19 | Solve Exercise 3-4: itoa improved | zlg | 1 | -0/+71 | |
2013-04-18 | Solve Exercise 3-3: expand() | zlg | 1 | -0/+82 | |
2013-04-16 | Solve Exercise 3-2: escape/unescape | zlg | 1 | -0/+68 | |
2013-04-16 | Solve Exercise 3-1: binsearch2 | zlg | 2 | -1/+72 | |
2013-04-06 | Solve Exercise 2-10: lower() | zlg | 2 | -1/+33 | |
Also added more information to 2-09's comments. | |||||
2013-04-06 | Solve Exercise 2-9: bitcount() | zlg | 1 | -0/+43 | |
2013-04-04 | Solve Exercise 2-8: rightrot() | zlg | 1 | -0/+52 | |
2013-04-03 | Solve Exercise 2-07: invert() | zlg | 1 | -0/+38 | |
2013-03-31 | Solve Exercise 2-6: setbits() | zlg | 1 | -0/+44 | |
2013-03-27 | Solve Exercise 2-5: The any() function | zlg | 1 | -0/+44 | |
2013-03-22 | Solve Exercise 2-04: Squeeze v2 | zlg | 1 | -0/+51 | |
2013-03-02 | Solve Exercise 2-3: Hex to integer converter | zlg | 1 | -0/+48 | |
This exercise was fun, and I learned a simpler way to convert them. | |||||
2013-02-28 | Change 2-02's solution to a while loop | zlg | 1 | -11/+7 | |
A recursive function is a bit much for something that simple. | |||||
2013-02-27 | Solve Exercise 2-02: No logical operators | zlg | 1 | -0/+44 | |
The text doesn't specify which technique to use. The section outlined operator precedence, but I couldn't think of a way to check for truth in the three main expressions without logical operators. So I turned to a recursive function. It works, but I'm not sure if it's what K&R were after. | |||||
2013-02-21 | Shorten 2-01's code | zlg | 1 | -22/+2 | |
There's no code like no code! :) | |||||
2013-02-21 | Correct 2-01 solution | zlg | 1 | -4/+14 | |
FLT_MIN and DBL_MIN refer to the lowest _positive number_ representable in floating-point form on the machine, not the lowest _negative number_. Subtracting FLT_MAX from 0 will give you the minimum. | |||||
2013-02-21 | Solve Exercise 2-01: Variable limits | zlg | 2 | -0/+143 | |
Fixed gitignore list, too | |||||
2013-02-13 | Add license file, reorganize project | zlg | 26 | -0/+15 | |
2013-02-13 | Fix 1-09's solution | zlg | 1 | -2/+4 | |
My initial solution tried to simplify the conditions for outputting a space. You really do need two 'if's in there. | |||||
2013-02-08 | Fix Exercise 1-12's solution | zlg | 1 | -2/+4 | |
Printing a newline for each whitespace character was the wrong behavior. | |||||
2013-02-07 | Solve Exercises 1-1 to 1-12 | zlg | 12 | -0/+307 | |
It was bugging me and the exercises are simple, so I pumped'em out. | |||||
2013-02-06 | Fix style issue and correct 1-24 | zlg | 1 | -4/+4 | |
Escape sequences were being compared with the 'or' operator instead of the 'and' operator. If I had left it alone, every escape sequence would've borked it. | |||||
2013-02-06 | Solve Exercise 1-24: C syntax checker | zlg | 1 | -110/+122 | |
I'm glad to be done with chapter 1. It feels like I'm starting to gain momentum. I'm certainly looking forward to using higher level constructs like switch(), which I think is available in Chapter 2. So far so good! | |||||
2013-02-06 | First crack at 1-24 | zlg | 1 | -0/+151 | |
Committing before I try something different. | |||||
2013-01-29 | Solve exercise 1-23: Remove C comments | zlg | 2 | -15/+99 | |
2013-01-09 | Solve Exercise 1-22: wordwrap | zlg | 3 | -21/+82 | |
* Removed unnecessary get_line() function in 1-17 * Corrected grammar in README, added an acknowledgement | |||||
2012-11-29 | Clean up 1-13 and 1-20, correct 1-21 | zlg | 4 | -46/+60 | |
1-13 uses less variables and a for loop for the chart header 1-20 has minor changes 1-21 was rewritten to behave properly README has been rewritten to reflect the limitations of my solutions | |||||
2012-11-29 | Correct 1-13's chart heading | zlg | 2 | -2/+8 | |
Thanks to ##c's rizlah | |||||
2012-11-26 | Solve Exercise 1-21: entab | zlg | 2 | -5/+56 | |
2012-11-22 | Solve exercise 1.20: Detab | zlg | 1 | -0/+43 | |
2012-08-13 | Solve exercise 1.19: Reverse each line of input | zlg | 1 | -0/+54 | |
2012-08-11 | Solve exercise 1.18 | zlg | 1 | -0/+38 | |
2012-08-11 | Initial commit | zlg | 7 | -0/+271 | |