Reverse String in c++ using sstream
One of good question can be asked about string is How to Reverse String ?
You can do in many ways but I am going to show you , the...
How to solve LASTDIG problem in SPOJ ?
Last digit problem in SPOJ looks simple but it contains a important concept of Modular exponentiation. If want AC in submission then you have to know about this concept ,to...
How to use long long data type in C?
In order of size, starting with the smallest, the integer types are char, short,int, long and long long. The smaller types have the advantage of taking up less memory,...
Latest tech trends (Internet of Things -IoT , mobile app development , cloud/distributed computing)
The Internet of Things?
The Internet of things, also known as the Internet of objects, refers to the networked interconnection of everyday objects.
The Internet of Things, or IoT, is emerging...
Basic Linux Exploits: Moving towards exploits
Note: Hacking is not a joke so please keep patience and learn it step by step.
If you have read all our previous posts , you are ready to exploits the...
Basic Linux exploits: Function Calling Procedure
Note: Hacking is not a joke so please keep patience and learn it step by step.
Note: Before reading this post you must read :
Learn hacking...
How to use Array in C++
How to use Array in C++
Arrays are the collection of fixed size , same type of elements in a sequential order. These elements are basically variables of same data...
Arrays In C/C++ And Their use
Arrays are the collection of fixed size , same type of elements in a sequential order. These elements are basically variables of same data type . They can be...
Function-2
Now lets continue from where we left off our topic "function ". In this post we are going to discuss about types of functions .
TYPES OF FUNCTIONS
Now there are...
Function In C/C++ Programming
Functions as the name suggest "to do some task " . Similarly in c/c++ ,functions are group of some codes that together performs a certain task. Every C/C++ program...
Statements-4(SELECTION STATEMENT:SWITCH STATEMENT)
Lets continue with the statements .......
SELECTION STATEMENT:SWITCH STATEMENT
These are similar to multiple if -else statement but its more easy to understand and it doesnot create any confusion for the...
C-Programming Statements: continue and goto statements
Lets continue with the statements ....
Continue statement
Continue statement leads to the end of the current iteration and leads to the new iteration. It allows the compiler to reach the...
Statements-2(nested if-else and break statements)
Let's continue the statements .........
NESTED IF-ELSE
Here under an if statement we can use many more if statements
SYNTAX:
if(condition )//start of 1st if
{-------------
if (condition ) //start of 2nd...
SELECTION STATEMENT: IF-ELSE STATEMENT
SELECTION STATEMENT: IF-ELSE STATEMENT
The if keyword is used to execute the statements/ block of statements . If the condition is true then those statements will be executed else the...
Types of Loop Control structure C++
Types of Loop Control structure C++
Loops are basically certain conditions that repeats certain steps until the condition becomes false , i.e a loop will continue to go on until...
Operators in C /C++ programming & Their Use
An Operator is a symbol that tells compiler to perform certain mathematical or logical operations. Operators are usually same in all programming language like c/c++ , java , python etc.
Built-in...
C++ Data type and Variable
In our first program , we saw how to print something . But thats not it , programming doesnt stick only to printing few text !!! Lets take an...
How to write c++ comments
What are comments in c++??
Comments are generally those line which will not compile and use for remember the aim/purpose of code.
Why to write comments??
Comments written in any programming language...
Using Namespace in C++
Before you start
you must see our previous post My first C++ program
Start Learning about Namespace:
In c++ , when a variable function or class is used in a particular scope...
My first c++ program
Hello friends, today I am gonna tell you how to make first c++ program !!!
Before start learning first c++ program??
Make sure you should have install either gcc or visual studio ....