Guest User

Untitled

a guest
Jan 16th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. /*
  2.  
  3. Example 1 : output, basic structure of C++ code
  4.  
  5. */
  6. #include <iostream> // this imports the library that contains I/O utilities
  7. using namespace std; // this line save us codes; instead of using std::cout, we just need to use cout
  8.  
  9. int main(){
  10.  
  11. // This is a single line comment
  12. cout << "Hello World!" << endl; // endl indicates the start of a new line
  13.  
  14. /*
  15. This is a multiline comment.
  16. We just made the most simple programm we could.
  17. */
  18.  
  19. return 0; // this lines
  20.  
  21. }
Add Comment
Please, Sign In to add comment