Re: [Dev-C++] Error compiling "file_one" from tutorials.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Nick <en...@ho...> - 2000-12-12 20:45:15
|
Hello again, > Hopefully that helped, otherwise feel free to post more of the > offending code, or a link if it's online. Never mind about the link, I found it in the backtraffic. A couple of notes, there are some places in Forger's tutorial where NULL is used instead of 0 or other valid parameters in that code; particularly in CreateFile and .styles. Not the best practice in C, and error- prone in C++. Here is a link describing proper use of CreateFile: http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/winbase/filesio_7wmd.htm That should all be one line. I would /strongly/ suggest finding Petzold's "Programming Windows" book if you are planning on doing Windows programming. You might even be able to find an earlier edition for cheap. HTH -- regards, Nick |