Hello
i have a cpp code wich i'm having trouble reading. a class B is defined
now, i understand the first two lines, but the rest isn't clear enough.
is the line "B const * pa2 = pa1" defines a const variable of type class B?
if so, what does the next line do?
B a2(2);
B *pa1 = new B(a2);
B const * pa2 = pa1;
B const * const pa3 = pa2;
also, i'm having trouble figuring out the difference between these two:
char const *cst = “abc”;
const int ci = 15;
thank you