Isn't
 A a = new A();   // A is a class name
supposed to work in C++?
I am getting:
conversion from 'A*' to non-scalar type 'A' requested
Whats wrong with that line of code?
This works in Java, right?
Also, what is the correct way to create a new object of type A in C++, then?
 
     
     
     
     
    