Thread
:
C++ question
View Single Post
#
2
(
permalink
)
July 3rd, 2008, 07:02 AM
Corax
Registered User
Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Corax
View Public Profile
Find all posts by Corax