September 26th, 2009, 07:13 AM
Thanks a lot Paul, you were very helpful
September 26th, 2009, 01:53 AM
I don't know what happened, when I looked back at the api header it says it a const char* (SDL_ttf), sure enough it accepts a const char* and c_str() as well.
I guess I won't be needing the...
September 26th, 2009, 01:17 AM
I had edited my post, but you were fast in replying :-)
This mean I'll need to use vector< vector<char> > to do what I want, right? Just using char* 'seems' so much simpler.
September 26th, 2009, 01:02 AM
Thanks so much Lindley for pointing out the problem, thanks Paul for the feedback
I'm using a vector of char* because I need to pass words, not characters to the API. It does not accept a const...
September 25th, 2009, 11:23 PM
Please can some one help me point out what's wrong with the code below. There's an intermittent error when trying to push_back into the vector.
I need to use char* because an API I'll be using...