Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #72.8K
~5K People Reached
Favorite Forums
Favorite Tags
2 Posted Topics
#include <fstream.h> #include <iomanip.h> int main() { int ind, tot; unsigned char byte; ifstream infile("inputfile.dat", ios::in | ios::binary); ofstream outfile("outputfile.dat", ios::binary ); for (!infile) { int iVal; unsigned char ucVal; infile.read( byte, 1 ); //this code I test with Visual C++. //convert unsigned char to integer iVal = (int)byte; //int …
Hello, If you have created a Win32 console application instead of a Win32 application by mistake, there are two ways to fix this problem: From the Project menu, choose Settings, click the C/C++ tab, and change preprocessor definitions from WIN32, _DEBUG, _CONSOLE, and _MBCS to WIN32, _DEBUG, and _WINDOWS. Next, …
The End.
fzoff