Your problem lies elsewhere. The following compiles & runs fine for me (VC6SP5)class name {};

bool operator<=(name& A, name& B)
{
return true;
}

int main()
{
name A, B;
if (A <= B) cout << "Hi;";
return 0;
}





Truth,
James
http://www.NJTheater.com
http://www.NovelTheory.com
I don't do it for the points (OK, maybe I do), but rating a post is a good way for me to know if I helped.