dos to win32 console
I have been compiling my program for DOS. Now that I want access to the Windows API I chose to compile my program for console. After compiling and executing the program I find that it doesn't look like its DOS version. The major problem in the conversion is with my file routines which I had posted yesterday.
Is this windows fault?
Are you talking about this thread?
What exactly is the problem?
Yes, that's the file routine that I'm using. In the dos version it says there are two entries in the file while with the windows version it says theres only one. I have attached my problem for you see.
There is my problem.
sizeof gives me 2004 bytes for windows and 2002 bytes for dos.