Difference between revisions of "IntroToProgramming"
From Bloominglabs
Line 15: | Line 15: | ||
* Mac OSX: Use [http://clang.llvm.org/get_started.html Clang] | * Mac OSX: Use [http://clang.llvm.org/get_started.html Clang] | ||
* Windows: Use [http://cygwin.com/ Cygwin] [http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/ Installation Guide] | * Windows: Use [http://cygwin.com/ Cygwin] [http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/ Installation Guide] | ||
+ | |||
+ | Check the <b>discussion</b> tab for this page to find helpful information for this class. If you need to request an account for the wiki so that you can edit, send an email to contact ]at[ bloominglabs ]dot[ org and make sure to list your preferred username. | ||
<b>Lectures:</b> | <b>Lectures:</b> |
Revision as of 20:00, 21 September 2015
Teacher:Jenett Tillotson
Teacher's email: jtillots ]at[ gmail ]dot[ com
Website: http://harold.uits.indiana.edu/~jtillots/IntroToProgramming
Text: The C Programming Language: 2nd Edition by Kernighan and Ritchie
Buy it on Amazon!
Mailing list: introtoprogramming@bloominglabs.org
Software:
- Linux: Use the gcc package which comes with your Linux distribution
- Mac OSX: Use Clang
- Windows: Use Cygwin Installation Guide
Check the discussion tab for this page to find helpful information for this class. If you need to request an account for the wiki so that you can edit, send an email to contact ]at[ bloominglabs ]dot[ org and make sure to list your preferred username.
Lectures:
- Lecture 2 Notes
- getput (I/O, EOF)
- getput2 (assignment operator)
- charcount (increment operator)
- linecount
- digit-wc-other-count (arrays)
- power (functions)
- character strings (strings.c)
- Homework: Read pages 35 through 40; exer 1-15, 1-17; extra credit 1-13 (both horizontal and vertical), 1-19
- Lecture 1 Notes
- hello world (compiling, assembling, linking, -o)
- assembly example (add.c, -S)
- hello world assembly
- fahr-cel-int, fahr-cel-float(types, while loops)
- fahr-cel-for (for loops, type conversions)
- fahr-cel-constants (symbolic constants)
- good programming style
- Homework: Read pages 5 through 34; exer 1-1, 1-2, 1-4, 1-5