Getting Started

What does your user need to know to try your project?

Prerequisites

You will need a C++ environment to follow along with the docs. If you don’t already have one we recommend using browxy which lets you write and run C++ programs in your web browser.

Try it out!

Go to browxy.com, and from the dropdown on the top-left select the option “C++ - Hello World” and click the blue “Open Example” button. This will populate the text field with the code

#include <iostream>

int main()
{
    std::cout << "hello world!\n";
}

If you press the green “Run” button then your program output will appear in the bottom “Console View” and display “hello world!”.

You can modify the code in the text field and re-run it, in this case we will modify it to say “cppdoc”.

#include <iostream>

int main()
{
    std::cout << "cppdoc\n";
}

Alternatives

Alternatively, if you’re already familiar with a different development environment, then run the code there!