Home

Awesome

correct_cpp_hello

BranchTravis CICodecov
masterBuild Statuscodecov.io

Correct C++ chapter 'Hello'.

:warning: this course does not work until I've updated the scripts to use GitHub Actions :warning:

Goal

Prerequisites

Exercise

Write any program that is correct.

Feel free to just copy-paste this code to main.cpp:

/// This program does exactly nothing
int main() {}

Note the ///, which indicates a Doxygen documentation comment.

This is how this course works:

  1. Login to GitHub
  2. Fork this repository. See fork a chapter for help
  3. Clone your fork. See clone your fork for help
  4. Activate Travis CI for your GitHub. See activate for help
  5. On your local code, modify the README.md. See modify README for help
  6. On your local code, do the exercise. See do the exercise for help
  7. Push your code. See push your code for help
  8. Travis will now correct your GitHub. If you did everything correctly, the build status of your fork will become green. Well done! Else, click on the red build status badge to view the Travis CI log

Your code must be correct, thus your code must:

External links

References