IntroToProgramming: Difference between revisions
From Bloominglabs
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
Lectures: |
Lectures: |
||
* Lecture 2 [http://harold.uits.indiana.edu/~jtillots/IntroToProgramming/lecture2/ Notes] |
|||
** getput (I/O, EOF) |
|||
** getput2 (assignment operator) |
|||
** charcount (increment operator) |
|||
** linecount |
|||
** digit-wc-other-count (arrays) |
|||
** power (functions) |
|||
** character strings (strings.c) |
|||
⚫ | |||
*Lecture 1 [http://harold.uits.indiana.edu/~jtillots/IntroToProgramming/lecture1/ Notes] |
* Lecture 1 [http://harold.uits.indiana.edu/~jtillots/IntroToProgramming/lecture1/ Notes] |
||
** hello world (compiling, assembling, linking, -o) |
** hello world (compiling, assembling, linking, -o) |
||
** assembly example (add.c, -S) |
** assembly example (add.c, -S) |
||
Line 26: | Line 35: | ||
** fahr-cel-constants (symbolic constants) |
** fahr-cel-constants (symbolic constants) |
||
** good programming style |
** good programming style |
||
** Homework: Read pages 5 through 34; exer 1-1, 1-2, 1-4, 1-5 |
|||
⚫ |
Revision as of 22:46, 17 September 2015
Bloominglabs' Intro To Programming
Jenett Tillotson
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
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