i was juz confused bcuz this program used three objects(instances) ....... which is not required we can do this program using a single object....
neways it is clear to me now...
thnks a lot ....
hey guys m new at programming so thought of joining this forum i hope will get to learn a lot of things from here.....
juz posted a new thread regarding c++
help me out dere....
can sum1 explain this program ????
#include<conio.h>
#include<iostream.h>
class largest
{
int d;
public :
void getdata(void);
void display_large(largest,largest);
};
void largest :: getdata(void)
{
cout<<"\n\nEnter Value :-";
cin>>d;
}
void largest :: display_large(largest o1,largest o2)
{...