TOPIC: Introduction and its basic structure
C++ began as an expanded version of C. The C++ extensions were first
invented by Bjarne
Stroustrup
in 1979 at Bell Laboratories in Murray Hill, New Jersey. The name was
initially called "C with
Classes", but it was later changed to C++.
The purpose of C++ is
to allow the programmer to
comprehend and manage larger, more complex programs.
C++20 is a version of the ISO/IEC 14882 standard for the C++
programming language. C++20 replaced
the prior version of the C++ standard, called C++17. The standard was
technically finalized by
WG21 at the meeting in Prague in February 2020, approved on 4
September 2020, and published in
December 2020.
This is the first introduction of C++ programming. This blog helps you
to learn C++ programming
and its applications. The discussions include C++ character set,
variables, constants, basic
input-output statements, decision statements, iteration statements and
many more. Let's look at
the very fisrt form of C++ programming.
C++ Structure: The basic structure
Code written in Visual Studio Code
// Syntax of a basic C++ Program
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello World!";
return 0;
}
Hello World!
Everybody should learn to program a computer, because it teaches you how to think.
- Steve Jobs