Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.14 KB

5_do_the_exercise.md

File metadata and controls

33 lines (22 loc) · 1.14 KB

5. Do the exercise

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.

Content of the 'hello' chapter's folder

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.