Jump to content
  • Advertisement

Archived

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

ARCHIGAMER

class head?

This topic is 6916 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

in VC++ i am getting an erroer saying i am missing a '';'' before the class head. what is a class head. here is the exact error i am getting: error C2143: syntax error : missing '';'' before ''''. and the help file doesnt help much

Share this post


Link to post
Share on other sites
Advertisement
This basically means that you have missed a semicolon from the end of a statement just before your class. E.g.

int number
class myclass
{
};

This will cause the error you reported, all you need is to add a semicolon to the end of the statement just before your class head (the class head is the part that says "class myclass" in this example).

-- Jon Hobson --

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!