ME 333 Readings, Videos, and Sample Code
From Mech
Appendix: A Crash Course in C
- 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. Exercises: .
- Sample program: overflow.c (2:39). Chapter A.4. Exercises: 19.
- Sample program: typecast.c (5:43). Chapter A.4. Exercises: 20, 21, 22.
- invest.c: intro to syntax
- invest.c: overview. Chapter A.4. Exercises 23, 24, 25, 26.
- invest.c: sections 1-4. Chapter A.4.
- invest.c: sections 5-6. Chapter A.4.
- invest.c: section 7. Chapter A.4. Exercises 27-40.