BASICS OF C++
INTRODUCTION TO C++
HOW TO INSTALL DEVC++ AND USE IT
HOW TO INSTALL CODEBLOCKS
BASIC SYNTAX OF C++
WHAT IS NAMESPACE?
DATA TYPES IN C++
ARITHMETIC OPERATIONS
BITS/STDC++.H FILE
DECISION-MAKING STATEMENT:-IF-ELSE STATEMENT
SELECTION STATEMENT:-SWITCH CASE
ITERATION STATEMENT:-FOR LOOP
TYPES OF FOR LOOP
WHILE LOOP
DO...WHILE LOOP
JUMP ST...
Tuesday, 29 August 2017
Arithmetic Operations in C++(Addition,subtraction,multiplication,division and modulus) With The Help Of Global,Local And Default Variables.
Let understand arithmetic operations with the help of global and local variables.
The arithmetic operation is used for some computation or calculation.
Addition of two variables:-
#include<iostream>
using namespace std;
int x=6; //global variable
int main()
{
int y=60,z; /* y is declared and initialized,y and z are local variable */
z=x+y;
cout<<"Addition:"<<z;
...
Wednesday, 23 August 2017
Data Types in C++

while doing programming in any programming language, you need some specific words to tell the compiler. Here I will explain these words.
TOKENS:-it is the smallest unit in a program, these are of five types.
Keywords:-These are the words that convey a special meaning to the language compiler like...
Tuesday, 22 August 2017
What is namespace in C++?
when you use the namespace, your program looks like:-
#include<iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return 0;
}
when you don't use the namespace, your program looks like:-
#include<iostream>
int main()
{
std::cout<<"Hello World";
return 0;
}
without "using namespace std;" when you write for example "cout<<;", you'd have to put...
Thursday, 17 August 2017
Basic Syntax Of C++(what is main,#include,iostream,namespace and comments in c++)

program to print a string on the screen(DevC++)
The above program is one of the simplest programs that can be written in C++, but it does include basic elements that every C++ programs have. Let us have a look at these elements one by one:
1. COMMENTS IN C++ PROGRAM
Comments are pieces...
Subscribe to:
Posts (Atom)