Last active
December 14, 2015 10:19
-
-
Save grogy/5071502 to your computer and use it in GitHub Desktop.
C++ Hello word.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Hello word!" << endl; | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -Wall -pedantic code-file.cpp -o program; # compilation | |
./program; # run program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment