Jim's
Tutorials

Spring 2013
course
navigation

March 1 C

This week was not a very productive one. Luckily, chapter 3 on printf and scanf was short and sweet. No problems understanding how to use them. Wrote m_square.c .

Jim says

We wrote several C programs, which I've uploaded. Started with a discussion of scanf and why it can give buffer overflows when doing string input. Went from there to pointers (writing trim(char* string)), to word_count (which Noah was looking at from K&C).
http://cs.marlboro.edu/ courses/ spring2013/jims_tutorials/ cory/ March_1_C
last modified Friday March 1 2013 1:16 pm EST

attachments [paper clip]

     name last modified size
[COD]input_crash.c Mar 1 2013 1:14 pm 327B [COD]m_square.c Feb 28 2013 8:10 pm 756B [COD]no_crash.c Mar 1 2013 1:14 pm 895B [COD]pluses.c Mar 1 2013 1:14 pm 148B [COD]pointers.c Mar 1 2013 1:14 pm 244B [COD]word_count.c Mar 1 2013 1:14 pm 712B