Skip to main content Skip to navigation

Day 2: Further Procedural C++ and Automating Builds with CMake

Create new repository for today

C++: Functions and References

We carry on with the core C++ syntax, covering the key topics of functions (PDF Document) and references (PDF Document).

Build Automation with CMake

In the second part of the day, we start to modularize the functionality in our program to make it easier to work with and give it logical structure. We then use the CMake build tool to automate the compilation of the program from the component sources, break the build down into a main applicationand an implemtation library, and finally package everything up. (PDF Document)

C++: File I/O and the Caesar Cipher

In the third part of the day we examine how to read from and write to files in C++ (PDF Document) and finally we implement the Caesar cipher (PDF Document).