A C++ implementation of a terrarium simulator. Used mainly for practicing OOP and advanced C++ concepts.
Project structure based on https://github.com/glpuga/cppl1_q12020.
You'll find the following project organization:
- course: Source code.
- include: Header files.
- src: Source files.
- test: Testing files.
- docker: Docker related files.
-
Fork and clone this repository.
-
Build docker image and run container, visit docker readme for instructions.
-
Build and run the sample app, visit course readme for instructions.
To build and test your code:
bash
cd {REPO_PATH}/course
mkdir build
cd build
cmake ..
make
ctest
The exact same steps for the last section can be followed to compile the main app. The current name for it is 'cpp_course'.
To execute it, follow the steps:
cd {REPO_PATH}/course/build
cd {REPO_PATH}/course
./cpp_course