computer_science:programming:cpp:hello_world
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
computer_science:programming:cpp:hello_world [2021/09/08 07:44] – created mana | computer_science:programming:cpp:hello_world [2021/09/15 09:06] (current) – mana | ||
---|---|---|---|
Line 1: | Line 1: | ||
Here is the most basic piece of C++ code: | Here is the most basic piece of C++ code: | ||
- | |||
<code cpp> | <code cpp> | ||
#include < | #include < | ||
Line 8: | Line 7: | ||
int main(){ | int main(){ | ||
cout << "Hello World"; | cout << "Hello World"; | ||
+ | return 0; | ||
} | } | ||
</ | </ |
computer_science/programming/cpp/hello_world.1631054648.txt.gz · Last modified: 2021/09/08 07:44 by mana