SLIDE 1
CS 309 Autonomous Intelligent Robotics Guest Instructor: Justin W. - - PowerPoint PPT Presentation
CS 309 Autonomous Intelligent Robotics Guest Instructor: Justin W. - - PowerPoint PPT Presentation
CS 309 Autonomous Intelligent Robotics Guest Instructor: Justin W. Hart http://justinhart.net Reading responses are still due before Thursday ..but the discussion will happen after Jivko returns Facebook Group
SLIDE 2
SLIDE 3
Facebook Group
https://www.facebook.com/groups/420454514730323/
SLIDE 4
Back to C++
- “Hello World” revisited
- Functions
- Function prototypes
- Header Files
- Implementations & Linking
- Variables
- Scoping
SLIDE 5
Back to C++
- Structs
- Classes
- Objects
- Access modifiers & encapsulation
- Basics of memory
- Static allocation
- Dynamic allocation
- What are pointers?
- new vs malloc
- delete vs free
SLIDE 6
Back to C++
- Basics of memory
- Static allocation
- Dynamic allocation
- What are pointers?
- new vs malloc
- delete vs free
SLIDE 7
Back to C++
- Function arguments
- Pass by reference
- Pass by value
- Passing pointers
SLIDE 8
Back to C++
- Basic memory management
- Allocation, creation, & deletion
- Memory leaks
- Segfaults
- Debuggers
- Stupid programming tricks:
- Your memory is never safe