Differences between revisions 3 and 4
Revision 3 as of 2022-05-11 13:51:06
Size: 155
Comment:
Revision 4 as of 2022-05-11 13:52:23
Size: 401
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

----



== 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
}}}

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


Data Types


CategoryRicottone

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