Differences between revisions 3 and 6 (spanning 3 versions)
Revision 3 as of 2022-05-11 13:51:06
Size: 155
Comment:
Revision 6 as of 2023-04-04 16:04:35
Size: 545
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:



== Example ==

A hello world program will look like:

{{{
#include <iostream>

int main() {
    std::cout << "Hello World!\n";
    return 0;
}
}}}

To compile and run, try:

{{{
g++ -o hello hello.cpp
./hello
}}}

----



== Installation ==

See [[C#Installation|the instructions for installing C]].

----



== Tool Chain ==

 + [[C++/BuildFlags]]

C++


Example

A hello world program will look like:

#include <iostream>

int main() {
    std::cout << "Hello World!\n";
    return 0;
}

To compile and run, try:

g++ -o hello hello.cpp
./hello


Installation

See the instructions for installing C.


Tool Chain

Data Types


CategoryRicottone

C++ (last edited 2023-04-05 17:52:58 by DominicRicottone)