Jump to content
  • Advertisement
Sign in to follow this  
Lorian14

Can't compile, screwed up compiler I think

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

I am trying to compile this tutorial [http://www.aaroncox.net/tutorials/arcade/Introduction.html], it mostly works, but I have a problem, using this function: void DisplayText(string text, int x, int y, int size, int fR, int fG, int fB, int bR, int bG, int bB); It complains at me saying "parameter 1 of `void DisplayText(std::string, int, int, int, int, int, int, int, int, int)' has incomplete type `std::string'" each time I use that function, if I get rid of the string bit and just set the text to "whatever" in the actual function, it will compile, but everything says "whatever" instead of what I want it to say. I am using Dev-C++. Cheers for any help.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • 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!