Commit Graph

57 Commits

Author SHA1 Message Date
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
Dan Buch
1a1c89af7a "copying" strings into other array 2011-09-10 00:29:54 -04:00
Dan Buch
933a9a04fc back to a more normal while-loop 2011-09-10 00:27:04 -04:00
Dan Buch
1d4044d586 counting backwards instead 2011-09-10 00:26:24 -04:00
Dan Buch
6c210c9b40 working version of ex11.c 2011-09-10 00:22:25 -04:00
Dan Buch
45ca45c9e1 back to initial state 2011-09-09 14:37:10 -04:00
Dan Buch
947ce04319 assigning back and forth between char arrays 2011-09-09 14:36:58 -04:00
Dan Buch
2830ca4774 using num_states again 2011-09-09 14:34:40 -04:00
Dan Buch
5b7748c99a using NULL sentinel instead of num_states 2011-09-09 14:34:26 -04:00
Dan Buch
16785fe9f2 cleaning up for-loops again 2011-09-09 14:32:33 -04:00
Dan Buch
7fbe80ce25 making a mess in my for-loops 2011-09-09 14:31:50 -04:00
Dan Buch
e580f39207 assigning within TEST of for-loop 2011-09-09 14:26:54 -04:00
Dan Buch
8f7bd1099c extracting evil 2011-09-09 14:25:01 -04:00
Dan Buch
41e45ff12a putting evil into my for-loop 2011-09-09 14:24:47 -04:00
Dan Buch
5a86af46b0 breaking ex10 2011-09-09 09:17:53 -04:00
Dan Buch
da1b3f8508 more int/char playing around, casting name as int 2011-09-08 22:52:39 -04:00
Dan Buch
3be4117ef1 assigning chars to numbers array 2011-09-08 22:47:27 -04:00
Dan Buch
c23968939a better again 2011-09-08 22:45:09 -04:00
Dan Buch
458ed013bc breaking it by not initializing the name 2011-09-08 22:42:39 -04:00
Dan Buch
34505c7200 working version of exercise 9 2011-09-08 22:41:34 -04:00
Dan Buch
7998233c9b extra credit for ch. 9 2011-09-08 22:33:37 -04:00
Dan Buch
cfd8e8cca0 more in how to break it for chapter 9 2011-09-08 22:28:01 -04:00
Dan Buch
593c551085 first version of ex8.c 2011-09-08 16:10:21 -04:00
Dan Buch
3a7ae25fa3 messing around with the size of "universe_of_defects" 2011-09-08 15:57:49 -04:00
Dan Buch
3b34c6ce0d breaking stuff and futzing with null 2011-09-05 21:03:40 -04:00
Dan Buch
5328793953 first draft of ex7.c 2011-09-05 20:50:39 -04:00
Dan Buch
cd54bb1c46 adding a README to appease the octocat 2011-09-05 09:17:01 -04:00
Dan Buch
67d44d78dd doing 7.3 extra credit 2011-09-05 09:10:19 -04:00
Dan Buch
5e41db6c13 adding exercise 6 to makefile 2011-09-05 08:20:20 -04:00
Dan Buch
997b3784c7 working version of ex6.c 2011-09-05 08:14:12 -04:00