Welcome, guest! Login / Register - Why register?
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,k;
  friend void operator++ (int k);
};
void operator++ (int k)
 {
  k+= 3;
 }

void main()
{
}

 

Revise this Paste

Your Name: Code Language: