Category: C++

02
Jan
2017

String Compare in C/C++

http://stackoverflow.com/questions/8004237/how-do-i-properly-compare-strings-in-c

23
Jul
2016

Flags in C

Reference: https://www.daniweb.com/programming/software-development/threads/201233/use-of-flag-in-c

30
Jun
2016

How to count numbers from string ?

code: #include<stdio.h> #include<stdlib.h> int main(){ char line[]=”1 -2 10000 -50 20 7 445 -4″; char *p,*e; long…

06
Jan
2016

C++ Overloading (Operator and Function)

Function Overloading in C++ #include<iostream> using namespace std; class printData { public: void print(int i) { cout<<“printing…

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…