Sprintf_s was not declared in this scope
Hi, I need to use function sprintf_s and strcat_s functions. I have Qt 4.7.4 and Win7. Do you have any idea, how to remove this error message?
These functions are non-standard part of Microsoft's C run time library. Include the relevant headers and build using Microsoft's compiler. You can probably also substitute snprintf.
If you want to make this a Qt question, then you should be using QString. For generic C++ you should be using std::string.