Hi
When I try to make new class, which inherited from another class I
found, as I understand, a mistake in working a compiled code.
Code Example:
char s[1024];
class Parent{
public:
Parent(){
vMethod();
};
virtual void vMethod(){
sprintf(s,"Parent virtual method");
};
};
class Child: Parent{
public:
C
↧