Difference between revisions of "ME 333 Readings, Videos, and Sample Code"
From Mech
Jump to navigationJump to searchLine 13: | Line 13: | ||
# [http://www.youtube.com/watch?v=jsmCIpBeKjk&feature=youtu.be '''Representations of data types'''] (5:15). Chapter A.3.1. Exercises: 12, 13. |
# [http://www.youtube.com/watch?v=jsmCIpBeKjk&feature=youtu.be '''Representations of data types'''] (5:15). Chapter A.3.1. Exercises: 12, 13. |
||
# [http://www.youtube.com/watch?v=47IS8VtAM9E&feature=youtu.be '''Pointer basics'''] (5:54). Chapter A.3.2. Exercises: 14, 15. |
# [http://www.youtube.com/watch?v=47IS8VtAM9E&feature=youtu.be '''Pointer basics'''] (5:54). Chapter A.3.2. Exercises: 14, 15. |
||
# [http://www.youtube.com/watch?v=yBLApvS7fcY&feature=youtu.be '''Sample program: printout.c'''] (5:55). Chapter A.4. Exercises: 17, 18. |
# [http://www.youtube.com/watch?v=yBLApvS7fcY&feature=youtu.be '''Sample program: printout.c'''] (5:55). Chapter A.4. Exercises: 16 (not covered in video, reading only) 17, 18. |
||
# [http://www.youtube.com/watch?v=YH-h-hGHIBw&feature=youtu.be '''Sample program: datasizes.c'''] (2:57). Chapter A.4. |
# [http://www.youtube.com/watch?v=YH-h-hGHIBw&feature=youtu.be '''Sample program: datasizes.c'''] (2:57). Chapter A.4. Exercises: 9. |
||
# [http://www.youtube.com/watch?v=HXXCdVuGm70&feature=youtu.be '''Sample program: overflow.c'''] (2:43). Chapter A.4. Exercises: 19. |
# [http://www.youtube.com/watch?v=HXXCdVuGm70&feature=youtu.be '''Sample program: overflow.c'''] (2:43). Chapter A.4. Exercises: 19. |
||
# [http://www.youtube.com/watch?v=dd_Uk00yURI&feature=youtu.be '''Sample program: typecast.c'''] (5:43). Chapter A.4. Exercises: 20 |
# [http://www.youtube.com/watch?v=dd_Uk00yURI&feature=youtu.be '''Sample program: typecast.c'''] (5:43). Chapter A.4. Exercises: 20. |
||
# [http://www.youtube.com/watch?v=MQaHeovdTCU&feature=youtu.be '''invest.c, part 1/5: intro to a typical C program'''] (4:18). Chapter A.4. |
# [http://www.youtube.com/watch?v=MQaHeovdTCU&feature=youtu.be '''invest.c, part 1/5: intro to a typical C program'''] (4:18). Chapter A.4. |
||
# [http://www.youtube.com/watch?v=CGmxOs7uxwI&feature=youtu.be '''invest.c, part 2/5: overview'''] (3:58). Chapter A.4. Exercises 23, 24, 25 |
# [http://www.youtube.com/watch?v=CGmxOs7uxwI&feature=youtu.be '''invest.c, part 2/5: overview'''] (3:58). Chapter A.4. Exercises: 23, 24, 25. |
||
# [http://www.youtube.com/watch?v=x218qBniZdo&feature=youtu.be '''invest.c, part 3/5: sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables'''] (4:48). Chapter A.4. |
# [http://www.youtube.com/watch?v=x218qBniZdo&feature=youtu.be '''invest.c, part 3/5: sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables'''] (4:48). Chapter A.4. Exercises: 26. |
||
# [http://www.youtube.com/watch?v=2Rl3Dno42pc&feature=youtu.be '''invest.c, part 4/5: sections 5-6: helper function prototypes and the main function'''] (4:40). Chapter A.4. |
# [http://www.youtube.com/watch?v=2Rl3Dno42pc&feature=youtu.be '''invest.c, part 4/5: sections 5-6: helper function prototypes and the main function'''] (4:40). Chapter A.4. |
||
# [http://www.youtube.com/watch?v=soT9_c6XXko&feature=youtu.be '''invest.c, part 5/5: section 7: helper functions'''] (7:42). Chapter A.4. Exercises |
# [http://www.youtube.com/watch?v=soT9_c6XXko&feature=youtu.be '''invest.c, part 5/5: section 7: helper functions'''] (7:42). Chapter A.4. Exercises 28-30, 32, 33. |
||
'''Sample Code''': |
'''Sample Code''': |
Revision as of 08:35, 13 December 2013
Readings, videos, exercises, and sample code for ME 333 Introduction to Mechatronics.
Appendix: A Crash Course in C
Reading: 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, 6.
- Data types (5:30). Chapter A.3.1. Exercises: 8, 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: 16 (not covered in video, reading only) 17, 18.
- Sample program: datasizes.c (2:57). Chapter A.4. Exercises: 9.
- Sample program: overflow.c (2:43). Chapter A.4. Exercises: 19.
- Sample program: typecast.c (5:43). Chapter A.4. Exercises: 20.
- invest.c, part 1/5: intro to a typical C program (4:18). Chapter A.4.
- invest.c, part 2/5: overview (3:58). Chapter A.4. Exercises: 23, 24, 25.
- invest.c, part 3/5: sections 1-4: program comments, preprocessor commands, new data type definitions, and global variables (4:48). Chapter A.4. Exercises: 26.
- invest.c, part 4/5: sections 5-6: helper function prototypes and the main function (4:40). Chapter A.4.
- invest.c, part 5/5: section 7: helper functions (7:42). Chapter A.4. Exercises 28-30, 32, 33.
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