History

Basic Concepts

Programming Languages

Compiler

Linker

IDE

Installation

  1. Install Visual Studio Community
  2. Install Desktop Development with C++ on Visual Studio Community

Hello World!

#include <iostream> // We import code of other persons 

// The main function which returns an integer
int main(){ 

    std::cout << "Hello World!\n"; // We print "Hello World!" to console

    return 0; // The return value of the function 
}
  • Statements are fragments of the C++ program that are executed in sequence. The body of any function is a sequence of statements.
  • The main function is a function that run first one when program runs.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *