Newbie Programmer
quote:Original post by ToohrVyk
You''re new here? Makoy->~here( )
Surely you mean
Makoy *thisMakoy;thisMakoy=(Makoy*)malloc(sizeof(Makoy));thisMakoy->Makoy();
We don''t want to destruct our newbies the moment they arrive!
Makoy: I''d say welcome, but that''s what everyone else does.. so:
It''s a pleasure to meet me. I hope you never find a live turtle in your soup.
Superpig
- saving pigs from untimely fates, and when he''s not doing that, runs The Binary Refinery.
Makoy *thisMakoy;
thisMakoy=(Makoy*)malloc(sizeof(Makoy));
thisMakoy->Makoy();
web:\gamedev\beginners.cpp(1) : error C2501: 'Makoy' : missing storage-class or type specifiers
Do not forget that
Makoy = new here;
Therefore it's a variable of type (here*) (A pointer to here. How useful.), and not a classname.
ToohrVyk
[edited by - ToohrVyk on July 2, 2003 3:41:04 PM]
thisMakoy=(Makoy*)malloc(sizeof(Makoy));
thisMakoy->Makoy();
web:\gamedev\beginners.cpp(1) : error C2501: 'Makoy' : missing storage-class or type specifiers
Do not forget that
Makoy = new here;
Therefore it's a variable of type (here*) (A pointer to here. How useful.), and not a classname.
ToohrVyk
[edited by - ToohrVyk on July 2, 2003 3:41:04 PM]
Boo.
ToohrVyk
Always be wary for typos, for they are fierce and dangerous. Even one is enough to make you pubic hair public.
ToohrVyk
Always be wary for typos, for they are fierce and dangerous. Even one is enough to make you pubic hair public.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement