Category: Programming

03
Nov
2015

Reverse Array/Array Copy

code: #include<stdio.h> int main() { int ara[]={10,20,30,40,50,60,70,80,90,100}; //took this array for various limit int ara2[10]; //max value…

23
Oct
2015

You should learn programming not Tools !

Stay focus…Stay consistent…Learn the basics and rest of the life try hard to learn more….Be a programmer…

07
Oct
2015

C++: Inheritance

One of the most important conecpts in object oriented programming is that of inheritance.Inheritance allows us to…

27
Sep
2015

C++ OOP: Constructor Destructor

The class constructor: A class constructor is a special member function of a class that is executed…

07
Aug
2015

Sorting Algorithm : Insertion Sort

From this two video I tried to re learn and implement the algorithm with pseudo code. Pseudocode:…

28
Jul
2015

c++ precision

C++ precision example: #include<iostream> #include<iomanip> using namespace std; int main() { double f; f=3.12159; cout<<f<<‘\n’; cout<<setprecision(3)<<f<<endl; cout<<setprecision(5)<<f<<endl;…