CS 309 Autonomous Intelligent Robotics Guest Instructor: Justin W. - - PowerPoint PPT Presentation

cs 309 autonomous intelligent robotics guest instructor
SMART_READER_LITE
LIVE PREVIEW

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-1
SLIDE 1

CS 309 Autonomous Intelligent Robotics Guest Instructor: Justin W. Hart http://justinhart.net

slide-2
SLIDE 2

Reading responses are still due before Thursday ..but the discussion will happen after Jivko returns

slide-3
SLIDE 3

Facebook Group

https://www.facebook.com/groups/420454514730323/

slide-4
SLIDE 4

Back to C++

  • “Hello World” revisited
  • Functions
  • Function prototypes
  • Header Files
  • Implementations & Linking
  • Variables
  • Scoping
slide-5
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
SLIDE 6

Back to C++

  • Basics of memory
  • Static allocation
  • Dynamic allocation
  • What are pointers?
  • new vs malloc
  • delete vs free
slide-7
SLIDE 7

Back to C++

  • Function arguments
  • Pass by reference
  • Pass by value
  • Passing pointers
slide-8
SLIDE 8

Back to C++

  • Basic memory management
  • Allocation, creation, & deletion
  • Memory leaks
  • Segfaults
  • Debuggers
  • Stupid programming tricks:
  • Your memory is never safe