[ create a new paste ] login | about

Link: http://codepad.org/IxhmQMu4    [ raw code | fork ]

C++, pasted on Oct 1:
1
2
3
4
5
6
7
8
9
10
11
12
13
class SuperClass{
private:
 int abc;
public:
 virtual int Func(){return abc};
};

class SubClass : public SuperClass{
private:
 double def;
public:
 virtual double Func(){return def};
}


Create a new paste based on this one


Comments: