Size: 545
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 43: | Line 43: |
+ [[C++/BuildFlags]] | * [[C++/BuildFlags|Build Flags]] |
C++
Contents
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