Commit Graph

1112 Commits

Author SHA1 Message Date
Dan Buch
697fc60bcb working through discussion of 7.2 2011-10-06 22:17:11 -04:00
Dan Buch
2194c6637e doing 7.2 2011-10-06 22:13:36 -04:00
Dan Buch
584e1eceb2 doing 7.1 2011-10-06 22:03:01 -04:00
Dan Buch
de8cf13289 more intro stuff for ch 7 2011-10-06 21:56:49 -04:00
Dan Buch
66fa87808c stepping back to chapter 7 for a bit 2011-10-06 21:50:45 -04:00
Dan Buch
ab98180af0 BUSTED while trying to do extra credit #2 2011-09-23 22:54:52 -04:00
Dan Buch
c5a1f90200 augmenting "die" to close db connection 2011-09-21 22:30:46 -04:00
Dan Buch
198b54d316 fixing (?) the strncpy bug 2011-09-21 22:23:37 -04:00
Dan Buch
791f3b1327 altering to match book source code so that I can reliably spot line ref errors 2011-09-21 13:24:43 -04:00
Dan Buch
c64e1beeaa first working version of ex17.c 2011-09-20 15:15:43 -04:00
Dan Buch
f7b89eb28f back to version that uses malloc/free and pointers 2011-09-20 14:39:07 -04:00
Dan Buch
9d258d22b8 version of ex16 with structs created on the stack, using dot syntax instead of ->, passing by value 2011-09-20 14:38:34 -04:00
Dan Buch
55fddaff46 first working version of ex16 2011-09-20 14:32:33 -04:00
Dan Buch
4d824d341f switching for-loops to while-loops 2011-09-19 23:09:29 -04:00
Dan Buch
a584141d4d treating pointer args as arrays 2011-09-19 23:06:33 -04:00
Dan Buch
bf6752edd6 using separate funcs for each way of looping/printing 2011-09-19 23:05:31 -04:00
Dan Buch
0a0fc453c5 back to version with long main func 2011-09-19 22:59:40 -04:00
Dan Buch
728a7c5bd8 using separate func for printing different formats, but still need to write different funcs for different ways of looping? 2011-09-19 22:58:45 -04:00
Dan Buch
9dfa986b5d printing addresses of argv members 2011-09-19 22:49:41 -04:00
Dan Buch
971363ba89 printing members of argv with pointer arithmetic 2011-09-19 22:41:32 -04:00
Dan Buch
c1ab498db3 back to mixed pointers and arrays version 2011-09-19 19:08:19 -04:00
Dan Buch
1b7572c786 using only pointers instead of array indexing 2011-09-19 19:06:10 -04:00
Dan Buch
22e3ed5406 back to working 2011-09-19 13:19:28 -04:00
Dan Buch
bdeaaf48f5 breaking by pointing at wrong array 2011-09-19 13:19:12 -04:00
Dan Buch
8c6e140dad adding in comments so that line numbers match up (which I should have been doing all along) 2011-09-18 13:34:09 -04:00
Dan Buch
9158c349b3 first version of exercise 15 2011-09-18 13:30:03 -04:00
Dan Buch
1e1ffb3f9d back to printing alpha and blanks 2011-09-18 10:41:52 -04:00
Dan Buch
f7f7f29a59 printing alnum and not just alpha 2011-09-18 10:41:35 -04:00
Dan Buch
c9de7b1c13 using strlen instead of null terminator 2011-09-18 10:40:21 -04:00
Dan Buch
20da5c59fd removing "can_print_it" 2011-09-18 10:37:53 -04:00
Dan Buch
f380dab295 first working version of ex14 2011-09-18 10:35:00 -04:00
Dan Buch
d4c567fd4d back to using switch 2011-09-13 23:07:39 -04:00
Dan Buch
9f7dd8283f using if-statement instead of switch-statement 2011-09-13 23:07:15 -04:00
Dan Buch
4c87139ab0 handling all args passed 2011-09-13 23:05:09 -04:00
Dan Buch
d85c6d97eb converting to lowercase and eliminating doubled-up case labels 2011-09-13 23:01:10 -04:00
Dan Buch
0b7dbc78b4 fixing again 2011-09-13 22:51:08 -04:00
Dan Buch
4bbd9c87a5 switching on non-ascii value 2011-09-13 22:51:00 -04:00
Dan Buch
80c1c5d5f3 fixing again 2011-09-13 22:49:31 -04:00
Dan Buch
49383187bb omitting default: 2011-09-13 22:49:26 -04:00
Dan Buch
bfe47afbf2 fixing again 2011-09-13 22:45:59 -04:00
Dan Buch
cbd2bc9cf5 commenting out a break 2011-09-13 22:45:49 -04:00
Dan Buch
64879fb2ad minor touchup, covering other case(s) for "y" 2011-09-13 22:44:00 -04:00
Dan Buch
049e7d4825 first working version of ex13 2011-09-13 21:43:47 -04:00
Dan Buch
2a59add795 first version of ex12 2011-09-10 11:54:21 -04:00
Dan Buch
34d54382d4 Merge branch 'master' of github.com:meatballhat/lcthw-remnants 2011-09-10 01:16:14 -04:00
Dan Buch
5f06f804b1 cleaning up gitignore and Makefile so that they don't have to be updated every time a new .c file is added 2011-09-10 01:15:38 -04:00
Dan Buch
84ee0d0ecb fixed inconsistent python compatibility guarding :P 2011-09-10 02:09:53 -03:00
Dan Buch
7cb0c4aab5 using strlen and strncpy to make copies of strings instead of just copying pointers, although the need for (char *) makes me think I don't have the right idea 2011-09-10 01:06:06 -04:00
Dan Buch
de57b63f46 just doing pointer copy again 2011-09-10 00:33:57 -04:00
Dan Buch
c5e4c2cf26 using strcpy instead of just copying pointers 2011-09-10 00:33:38 -04:00