6.10.1
3 Week 3: HERA and classes in C++
This week we’ll be talking about HERA, an assembly language, and classes in C++.
3.1 HERA
Slides in keynote and PDF.
3.2 Classes in C++
Slides in keynote and PDF.
3.2.1 Code from class
shapes.h defines the shape classes
shapes.cc gives some implementation
shapesmain.cc uses it in a main function
Please ask me questions!
3.3 Pointers
Pointers are one of the most interesting and challenging aspects of C/C++.
The code is here. Please read the comment on how to compile and run.
Please follow along with the video of me coding all of this up.
3.4 Required Reading
You are required to read the C++ tour from section 3.0.0 up to (but not including) section 3.3.3. Here is a link to the sections you are required to read.
Also please see Dave’s exaples on classes in C++.