|
|
1>c:\users\ben\documents\visual studio 2008\projects\test\main.cpp(8) : error C2248: 'A::n' : cannot access protected member declared in class 'A' 1> c:\users\ben\documents\visual studio 2008\projects\test\main.cpp(3) : see declaration of 'A::n' 1> c:\users\ben\documents\visual studio 2008\projects\test\main.cpp(1) : see declaration of 'A' |
b->n
looks like trying to access a private member.