Newbie Programmer

Started by
5 comments, last by Makoy 20 years, 9 months ago
Hello everyone! I''m new here! That''s all... No Signature
Flamers are worst than Newbies
Advertisement
You''re new here? Makoy->~here( )
Welcome!

Beginners and experts will find answers here.
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.

Richard "Superpig" Fine - saving pigs from untimely fates - Microsoft DirectX MVP 2006/2007/2008/2009
"Shaders are not meant to do everything. Of course you can try to use it for everything, but it's like playing football using cabbage." - MickeyMouse

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]
Don''t scare him! You''re scaring me too.
Boo.

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