Elroy
2012-08-27 22:03:33 UTC
main.cpp
#include
#include
int add(int x,int y);
void main()
{
clrscr();
int a,b;
cout<<"Enter two nos. ";
cin>>a>>b;
cout<<"Required result is "<
}
add.cpp
int add(int x,int y)
{
return (x+y);
}
I want to run the "main.cpp" file and get the answer of addition. I want to know what else have I to include.Thank you