Skip to main content
gamedev.net
🔒 Locked

Regular C++ coding

Started by PeterPoPS Dec 8, 2000 at 8:14 AM 0 replies 350+ views
Original Post
PeterPoPS
PeterPoPS
I know this isn''t OpenGL, but i need help anyways ! I wanna know how i copy files using C++, and not just txt files I wanna know howto copy DLL files. It won''t work just reading the file into a var and the writing it to another file.. at least it didn''t for me..
I am a new guy to OpenGL and C++, and I will always be
tcs
tcs
You can still do it with fstream functions, you just have to open the file in binary mode ("rb"). But Win32 has some functiosn for you, CopyFile() f.e.

Tim

--------------------------
glvelocity.gamedev.net
www.gamedev.net/hosted/glvelocity
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.