Difference between revisions of "ME 333 Readings, Videos, and Sample Code"
From Mech
Jump to navigationJump to searchLine 1: | Line 1: | ||
===Appendix: A Crash Course in C=== |
===Appendix: A Crash Course in C=== |
||
# [http://www.youtube.com/watch?v=OJWPHr8pwoo&feature=youtu.be '''Writing your first program in C, HelloWorld.c''' (5:09). |
# [http://www.youtube.com/watch?v=OJWPHr8pwoo&feature=youtu.be '''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. |
# [http://www.youtube.com/watch?v=KPiCXMwm9Cc&feature=youtu.be '''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. |
# [http://www.youtube.com/watch?v=sfQ9kryuqI8&feature=youtu.be '''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. |
# [https://www.youtube.com/watch?v=oKD9m8STSA0 '''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. |
# [https://www.youtube.com/watch?v=CT8PpFPVBZI '''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. |
# [https://www.youtube.com/watch?v=rzCh8_iSIwI '''Representations of data types'''] (5:15). Chapter A.3.1. Exercises: 12, 13. |
||
# '''Pointer basics''' (5:54). Chapter A.3.2. Exercises: 14, 15. |
# [https://www.youtube.com/watch?v=gmo-FY-3ecU '''Pointer basics'''] (5:54). Chapter A.3.2. Exercises: 14, 15. |
||
# '''Sample program: printout.c''' (5:55). Chapter A.4. Exercises: 17, 18. |
# [https://www.youtube.com/watch?v=PDdirUe01t4 '''Sample program: printout.c'''] (5:55). Chapter A.4. Exercises: 17, 18. |
||
# '''Sample program: datasizes.c''' (2:57). Chapter A.4. Exercises: . |
# [https://www.youtube.com/watch?v=QquiMPW7SpM '''Sample program: datasizes.c'''] (2:57). Chapter A.4. Exercises: . |
||
# '''Sample program: overflow.c''' (2:39). Chapter A.4. Exercises: 19. |
# '''Sample program: overflow.c''' (2:39). Chapter A.4. Exercises: 19. |
||
# '''Sample program: typecast.c''' (5:43). Chapter A.4. Exercises: 20, 21, 22. |
# '''Sample program: typecast.c''' (5:43). Chapter A.4. Exercises: 20, 21, 22. |
Revision as of 15:21, 2 December 2013
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. Chapter A.4.
- invest.c overview. Chapter A.4. Exercises 23, 24, 25, 26.
- invest.c, sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables. Chapter A.4.
- invest.c, sections 5-6: helper function prototypes and the main function. Chapter A.4.
- invest.c, section 7: helper functions. Chapter A.4. Exercises 27-40.