Intermediate2 h 5Free
C++: functions, objects and a small project
Split your code into functions, pass data by reference, make the most of the standard library's containers and algorithms, then create your own classes and let C++ manage memory for you. You finish with a real small program: managing a lending library.
Start the course
0 / 7 chapters completed
What you'll be able to do
- Write functions and choose between pass-by-value, pass-by-reference and pass-by-const-reference
- Use std::map and the std::sort and std::find algorithms
- Define a class with private attributes, a constructor and methods
- Explain the RAII principle and use std::unique_ptr
- Build a small complete program organised into classes
Course outline
Part 1 · Functions and the standard library