CS106B Classes and Dynamic Memory
This week’s section exercise consists of two larger problems that will give you practice with designing classes and working with dynamic array allocation. These problems will help you get practice with the skills that you need for the next assignment, where you will start to implement your very own data structures! As you work on these problems, you may find this Classes and Objects Syntax Sheet to be helpful. Remember that every week we will also be releasing a Qt Creator project containing starter code and testing infrastructure for that week's section problems. When a problem name is followed by the name of a .cpp file, that means you can practice writing the code for that problem in the named file of the Qt Creator project. Here is the zip of the section starter code: 📦 Starter project Topics: Classes Write a class named Circle that stores information about a circle. Your class must implement the following public interface: You are free to add any private member variables or metho
CS106B Classes and Dynamic Memory Classes and Dynamic Memory Week 5 Section materials curated by Butch Nasser and Sean Szumlanski, drawing upon materials from previous quarters. This week’s section exercise consists of two larger problems that will give you practice with designing classes and working with dynamic array allocation. These problems will help you get practice with the skills that you need for the next assignment, where you will start to implement your very own data structures! As you work on these problems, you may find this Classes and Objects Syntax Sheet to be helpful. Remember
Explore this link on the map →related reading
- Circular buffer - Wikipediaen.wikipedia.org
- priority_queue - C++ Referencecplusplus.com
- Ray Tracing in One Weekendraytracing.github.io
- CS106B Implementing VectorIntweb.stanford.edu
- Queue (abstract data type) - Wikipediaen.wikipedia.org
- Why the Ring Buffer is the Foundation of High-Performance Systems - DEV Communitydev.to
- Dropboxdropbox.com
- CS106B Stacks and Queuesweb.stanford.edu
- CS107E Assignment 4: Stack and Heapcs107e.github.io
- CS106B Object-Oriented Programmingweb.stanford.edu
- CS107 Assignment 3: A Heap of Funweb.stanford.edu
- CS111 assign5 C++ Guideweb.stanford.edu