Name: Anonymous 2008-09-23 22:37
This code does not compile.
Only the 1337est h4x0rz know the fix.
Only the 1337est h4x0rz know the fix.
class superclass
{
float _x, _y;
public:
void set(const float x, const float y)
{ _x = x; _y = y; }
};
class childclass : public superclass
{
public:
void set(int s) {}
};
int main()
{
childclass kid;
kid.set(1.f, 2.f);
return 0;
}