cplusplus

C++ Installation

To start programming in C++, you must have a compiler installed in your system. What is a Compiler? A compiler is a computer program or a software which converts source code written in a programming language to the  machine language code. In general, a compiler converts your code into a …

C++ Installation Read More »

Introduction to C++

C++ is a general purpose programming language that has a wide scope of implementations. It was developed by a Danish computer scientist Bjarne Stroustrup at Bell labs, New Jersey. Primarily used in software development, it is also widely used all the way in game development, application programming, compiler design and many …

Introduction to C++ Read More »

Syntax of C++

Syntax of a programming language means the combination of various symbols and keywords to form a meaningful code. According to Wikipedia – “In computer science, the syntax of a computer language is the set of rules that defines the combinations of symbols that are considered to be a correctly structured document …

Syntax of C++ Read More »

C++ comments

Comments in C++ are the explanatory statements that helps a reader to understand the code. We can write single line as well as multi line comments in C++. Anything that is included inside a comment is ignored by the compiler. Single line comment : A single line comment can be …

C++ comments Read More »

Variables in C++

In C++, a variable is something that can be used to store some value. The variables can be of different types to store different types of values. For example- An ‘int’ type variable stores an integer value whereas ‘char’ stores character type value. A variable is actually a name given …

Variables in C++ Read More »