After having modified the README, it is time to do the exercise.
Each chapter describes an exercise (in README.md
)
and has a file called main.cpp
.
main.cpp
is where you must put your code.
To do an exercise, edit the main.cpp
file.
Usually main.cpp
contains already some incomplete code to get you started, or dictate some structure.
For example, the hello
chapter has this code in main.cpp
:
main() {}
You can use any editor or IDE to build and run your code.
Some examples:
For some exercises, you will also need to:
After having done the exercise, push your code to let git
upload your proposed solution.