Category: Language

05
Nov
2015

Find Maximum and Minimum and Summation value from array

Did this problem from subeen vai’s book. For maximum value: #include<stdio.h> int find_max(int ara[],int n); int main()…

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…

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;…