Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2022-05-11 13:50:58
Size: 155
Comment:
Revision 7 as of 2023-04-05 17:52:58
Size: 557
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
== 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|Build Flags]]


Line 11: Line 49:
 + [[C++/PointersAndReferences|Pointers and References]]  * [[C++/PointersAndReferences|Pointers and References]]

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)