Hello i just started c++, and i have a small problem with compiling. The book im reading just told me to compile the following but line 4 has an error/warning.(im using devc++)
#include <iostream>
int Add (int x, int y)
{
cout<< "In Add(), received " << x<< "an d" <<y<< "\n";
return (x+y);
}
int main()
{
cout<<"Im in main()!\n";
int a, b, c;
cout<<"Enter two numbers:";
cin<< a;
cin<< b;
cout<<\nCalling Add()\n";
c=Add(a,b);
cout<<"\nBackin main().\n";
cout<<"\nExiting....n\n";
reuturn 0;
}