Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 515 Bytes

File metadata and controls

38 lines (26 loc) · 515 Bytes

December 4

C++ Program Structure

//my first program in c++

#include <iostream>
using namespace std;

int main() {
    cout << "Hello World!";
    return 0;
}

Comment

  • Non-executable line or statement

    • Line Comment
      //This is a line comment
    • Block Comment
      /* This is 
          a 
          block comment
      */

Header File

Note: (#) - Pre-processor