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...
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...
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 ....
Pointers and Dynamic memory in C++
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...
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...
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...
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++ 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...
Program to Implement Stacks using structures in C/C++ Programming
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...
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...
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...
C++Advance (STL) Map
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...
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...
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...
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...
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...
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...
Memory management in C Programming:Computer Memory
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...
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...