Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by anonym ( 16 years ago )
#include <iostream.h>
class Counter
{
public:
int counter;
int operator++ ()
{
counter+=3;
return counter;
}
};
void main()
{
Counter a;
a.counter=6;
++a;
cout<<a.counter;
}
Revise this Paste