This repo contains all the different "projects" or tutorials I used to learn C++
- HelloWorld
- Basic hello world example
- LogClass (Requires Refactor)
- Youtube Link
- Basic example of using classes in C++
- Requires some refactoring
- Find a way to move
Log
class toLog.cpp
- Use enum for
LogLevels
- Find a way to move
- Threads
- Youtube Link
- Understand how to do things on multiple threads in C++
- The C++ version I am using & the one in the Youtube video seem to be different. I don't have access to the
chrono_literals
namespace in the way its used in the video.
- Virtual Functions
- Youtube Link
- Basic example of how to use virtual functions
- An item to note, Virtual Functions leverage dynamic dispatch to work. Meaning they do a lookup for what classes have virtual functions assoicated with them. This is a runtime check that introduces overhead. It's probably negligible, but good to know.