Hi, when I try to compile this code the following error occurs:
Line 3: error: stray '\ 302' in program
compilation terminated due to-Wfatal-errors.
This code is:
class Empty
{
int null;
public:
Empty(){}
~Empty(){}
};
class EmptyToo : public Empty
{
public:
EmptyToo(){}
virtual ~EmptyToo(){}
};
class EmptyThree : public EmptyToo
{
public:
EmptyThree(){}
~EmptyThree(){}
};
int main()
{
std::cout << sizeof(EmptyThree);
return 0;
}
Please help me correct this error and tell me how much memory is allocated? Thank you.
---------- Post added at 05:32 PM ---------- Previous post was at 03:53 PM ----------
No one knows even, o God,