Thread: Basic file io
View Single Post
Old 04-07-2017, 06:22 PM   #14
earlevel
Human being with feelings
 
Join Date: Dec 2015
Posts: 327
Default

Quote:
Originally Posted by nofish View Post
I have to read up on both strcat (what I was actually looking for I guess) and snprintf...
Sorry to be a pain and add another wrinkle, but if you need to read up on snprintf, do yourself a favor and read up on ostringstream instead. Not only will you be working the c++ way for now and the future, but you'll be avoiding a deprecated (in MS Visual Studio C++) function. Bypass the printf legacy altogether.
earlevel is offline   Reply With Quote