Difference between revisions of "ME 333 Readings, Videos, and Sample Code"
From Mech
Jump to navigationJump to searchLine 27: | Line 27: | ||
*'''Section A.4.16''': [[Media:CCChelper.h|helper.h]], [[Media:CCChelper.c|helper.c]], [[Media:CCCmain.c|main.c]] |
*'''Section A.4.16''': [[Media:CCChelper.h|helper.h]], [[Media:CCChelper.c|helper.c]], [[Media:CCCmain.c|main.c]] |
||
*'''Problems, Section A.5''': [[Media:CCCbubble.c|bubble.c]], [[Media:CCClights.c|lights.c]], [[Media:CCChexdump.c|hexdump.c]] |
*'''Problems, Section A.5''': [[Media:CCCbubble.c|bubble.c]], [[Media:CCClights.c|lights.c]], [[Media:CCChexdump.c|hexdump.c]] |
||
---- |
|||
===Chapter 1: Quickstart=== |
===Chapter 1: Quickstart=== |
||
---- |
|||
===Chapter 2: Looking Under the Hood: Hardware=== |
===Chapter 2: Looking Under the Hood: Hardware=== |
||
---- |
|||
===Chapter 3: Looking Under the Hood: Software=== |
===Chapter 3: Looking Under the Hood: Software=== |
||
---- |
|||
===Chapter 4: Using Libraries=== |
===Chapter 4: Using Libraries=== |
||
---- |
|||
===Chapter 5: Time and Space=== |
===Chapter 5: Time and Space=== |
||
---- |
|||
===Chapter 6: Interrupts=== |
===Chapter 6: Interrupts=== |
Revision as of 23:11, 3 December 2013
Appendix: A Crash Course in C
Text: A Crash Course in C
Videos:
- Writing your first program in C, HelloWorld.c (5:09). Chapter A.1. Exercises: 1.
- Differences between C and MATLAB (7:30). Chapter A.2. Exercises: 2, 3.
- Binary and hexadecimal (Base 2 and 16) (4:47). Chapter A.3.1. Exercises: 4, 5, 6.
- Data types (5:30). Chapter A.3.1. Exercises: 7, 8, 9, 10.
- Using the data types (3:49). Chapter A.3.1. Exercises: 11.
- Representations of data types (5:15). Chapter A.3.1. Exercises: 12, 13.
- Pointer basics (5:54). Chapter A.3.2. Exercises: 14, 15.
- Sample program: printout.c (5:55). Chapter A.4. Exercises: 17, 18.
- Sample program: datasizes.c (2:57). Chapter A.4.
- Sample program: overflow.c (2:43). Chapter A.4. Exercises: 19.
- Sample program: typecast.c (5:43). Chapter A.4. Exercises: 20, 21, 22.
- invest.c: intro to syntax (4:18). Chapter A.4.
- invest.c overview (3:58). Chapter A.4. Exercises 23, 24, 25, 26.
- invest.c, sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables (4:48). Chapter A.4.
- invest.c, sections 5-6: helper function prototypes and the main function (4:40). Chapter A.4.
- invest.c, section 7: helper functions (7:42). Chapter A.4. Exercises 27-40.
Sample Code:
- Section A.1: HelloWorld.c
- Section A.4: printout.c, datasizes.c, overflow.c, typecast.c, invest.c
- Section A.4.16: helper.h, helper.c, main.c
- Problems, Section A.5: bubble.c, lights.c, hexdump.c