today-is-a-good-day

Reverse String in c++ using sstream

0
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...
Dynamic Pointers in c

Pointers and Dynamic memory in C++

0
Pointers and Dynamic memory in C++   There are two ways that memory gets allocated for data storage: Compile Time (or static) Allocation Memory for named variables is allocated by the compiler Exact size...
code for Using Namespace in C++

Using Namespace in C++

0
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...

Function-2

0
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...

How to use Array in C++

0
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...
Custom Exception In Java

C++ Data type and Variable

0
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...
statements-if-else-break

Statements-2(nested if-else and break statements)

0
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...
Memory management in C Programming

Memory management in C Programming:Computer Memory

0
Memory management in C is one of the important topic as it's not only about memory management in c but also about Computer Memory Management. In this section you...
The Loop Control structure

Types of Loop Control structure C++

2
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...
Basic Linux exploits: Function Calling Procedure

Basic Linux exploits: Function Calling Procedure

0
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...

Statements-4(SELECTION STATEMENT:SWITCH STATEMENT)

0
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...
Basic Linux Exploits : Moving towards exploit

Basic Linux Exploits: Moving towards exploits

0
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...

C++Advance (STL) Map

0
Here I want to clear the concepts of map in short.There are 4 associate containers (binary tree) : set ,multiset ,map and multimap .Applications of map are very important...

How to solve LASTDIG problem in SPOJ ?

0
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...
Program to Implement Stacks using structure in C/C++ Programming

Program to Implement Stacks using structures in C/C++ Programming

2
In previous post Stacks in programming and Basic Exploits : Stack Operations, we explained the functioning of stacks. Later our users ask for its code in C Programming. In...

C-Programming Statements: continue and goto statements

0
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...
if-else decision control

SELECTION STATEMENT: IF-ELSE STATEMENT

0
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...

Arrays In C/C++ And Their use

0
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...

How to use long long data type in C?

0
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,...

How to write c++ comments

0
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...