Advertisement
alaestor

[TEACH_CODE] HelloWorld main.cpp

Aug 18th, 2021
1,147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. // main.cpp
  2. // A simple hello world program for C
  3.  
  4. #include <iostream>
  5.  
  6. int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv)
  7. {
  8.     using std::cout, std::endl;
  9.     cout << "Hello, World!" << endl;
  10.     return 0;
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement