Hi,
Trying to overload - and getting this error. I am not sure why..
error C2447: missing function header (old-style formal list?)
#include<iostream.h>
#include<string>
#include<new>
#include<ctime>
using namespace std;
class D
{
public:
D operator- (const D &d2);
};
D D::operator- (const D &d2);
{ //error points to here!!
cout<<"wont work....";
}
:-/ using VS C++ 6.0