File Transfer
Hi!
I am trying to send a picture over a LAN with my C++ Program (DX9) and was just wondering whether my reading it like a text file and trasnferring it directly into another file with the same file name on the other computer it would work. If not, how else can I transfer a file quickly and easily.
Regards,
Luke
www.envisagecreations.comwww.phpreviews.net
It won''t work, you need to open it as a binary file, transfer the data, and have the other one save it as a binary file as it comes.
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement