Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Makoy

Newbie Programmer

This topic is 5557 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
Boo.

ToohrVyk

Always be wary for typos, for they are fierce and dangerous. Even one is enough to make you pubic hair public.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!