Skip to content

Instantly share code, notes, and snippets.

@grogy
Last active December 14, 2015 10:19
Show Gist options
  • Save grogy/5071502 to your computer and use it in GitHub Desktop.
Save grogy/5071502 to your computer and use it in GitHub Desktop.
C++ Hello word.
#include <iostream>
using namespace std;
int main()
{
cout << "Hello word!" << endl;
return 0;
}
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