Category: Language

27
Jun
2015

C++ OOP:

C++ is a OOP Version of C… A class is a blueprint of an object…..Basically a object…

23
Jun
2015

Structure in C++

struct Books{ char title[50]; char author[50]; char subject[100]; int book_id; }book; #include<iostream> #include<cstring> using namespace std; struct…

23
Jun
2015

c++ input/output stream

I/O stream: #include<iostream> using namespace std; int main(){ char name[50],age; cout<<“enter name:”; cout<<“Age:”; cin>>name>>age; cout<<“Name: “<<name<<endl<<“Age: “<<age<<endl;…

23
Jun
2015

C++ References

#include<iostream> using namespace std; int main() { int i; double d; int &r=i; double &s=d; i=5; cout<<“Value…

15
Jun
2015

C++ Strings

Actually C++ strings are two types 1. Traditional C style character string 2. String class type Introduces…

11
Jun
2015

C++ Pointer

I tried to clear here my logic for pointer basic #include<iostream> using namespace std; int main(){ int…