Thread: C++ question
View Single Post
  #2 (permalink)  
Old July 3rd, 2008, 07:02 AM
Corax Corax is offline
Registered User
 
Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As far as i Can tell the Problem is the Line :
  Test abc=new Test();
C++ expects a pointer when allocating memory via the new Operator.

To Create an instance of a Class
  Test abc;
should be enough.


Reply With Quote