How can I download a file to a string without any temporary file?
How can I download a file to a string without any temporary file?
1) declare a string class variable
2) open the source file
3) read the file into your string
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
He's asking if he can download a webpage's source into a string without actually downloading the file physically to his harddrive.
If using Windows, see this WinINet sample.
How can I download a binary file to a string (or whatever type)?
Because I want to download a wma song to a string, and then play it without saving it to file. http://cboard.cprogramming.com/showthread.php?t=70321. Is it possible?