Can't compile, screwed up compiler I think
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement