<<< split from the graveyard - http://cboard.cprogramming.com/cplus...nst-char*.html >>>
i tryed the above method and got this error
argument of type ‘const char* (std::basic_string<char, std::char_traits<char>, std::allocator<char> >::)()const’ does not match ‘const char*’|
i was trying to do almost the same exact thing as meehanmd
sstr << HP;
Surf_HP = TTF_RenderText_Solid(font, str_change.c_str,color);
Forgot the parenthesis.
Surf_HP = TTF_RenderText_Solid(font, str_change.c_str(),color);