gimme the error plz
it says undefined symbol _main in module c0.asm
#include<iostream.h>
class largest
{ private :
int num1,num2,num3,big;
public :
void enter(int a,int b,int c);
void max(void);
void display(void);
};
void largest::enter(int a,int b,int c)
{
cout<<"Enter numbers n";
a=num1;
b=num2;
c=num3;
cin>>a>>b>>c;
}
void largest::max(void)
{ big=num1;
if(num2>big)
big=num2;
if(num3>big)
big=num3;
}
void largest::display(void)
{cout<<"n largest number" <<" " <<big<<endl;
}
Aditya_8 0 Newbie Poster
Moschops 683 Practically a Master Poster Featured Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
Aditya_8 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.