Sign in to follow this  

Can't compile, screwed up compiler I think

Recommended Posts

I am trying to compile this tutorial [], 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this