string format question
I am using C.
I have a fuction that returns a string Code:
std::string name = getstingValue(); So I'm trying: Code:
std::string newfilepath; cannot convert ‘std::string’ to ‘char*’ for argument ‘1’ to ‘int sprintf(char*, const char*, ...)’ How can I deal with this? |
Quote:
Quote:
|
Code:
std::string newfilepath; |
All times are GMT -5. The time now is 10:39 AM. |