CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: cic.lemur

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    7,036

    Re: Help with char*

    Thanks a lot Paul, you were very helpful
  2. Replies
    9
    Views
    7,036

    Re: Help with char*

    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...
  3. Replies
    9
    Views
    7,036

    Re: Help with char*

    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.
  4. Replies
    9
    Views
    7,036

    Re: Help with char*

    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...
  5. Replies
    9
    Views
    7,036

    Help with char*

    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...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured