Skip to content

Instantly share code, notes, and snippets.

@hsandid
Created February 12, 2018 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsandid/bca5e8b0dad71ad5f1377b703ab348b2 to your computer and use it in GitHub Desktop.
Save hsandid/bca5e8b0dad71ad5f1377b703ab348b2 to your computer and use it in GitHub Desktop.
// This line and the 2 lines below are just comments.
// Comments are good for you but they are ignored by the compiler
// A first program in C++
#include <iostream>
using namespace std;
int main()
{
cout << "Welcome to";
cout << " C++!\n";
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment