Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Make this compile

Name: Anonymous 2010-11-08 22:38

I can't change the integers to public, just ADD something to make this compile


class X
{ private: int x;
public: X(int i){x=i;}
};

class Y{ private: int y;
public: Y(int i){y=i;}
};

int operator +(X &p1, Y &p2){return p1.x+p2.y;};

Name: Anonymous 2010-11-09 13:40

/prog/ is nothing less than /b/... It simply sucks, and it sucked since the Internet was young. And you, bitches, still don't get it.

In the last week I've tried to post some useful questions, and check how good /prog/ is... The only thing that I've noticed is a lot of dumbfags posting SICP and FIOC . You are clueless dogshit, and there's nothing to do about it.

This thread simply confirms my thesis.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List