nickthat
-
Content Count
2 -
Joined
-
Last visited
Posts posted by nickthat
-
-
Making direct calls to the Windows API functions shouldn't be neccessary. It would be easier, especially if you are new to C++ to use some classes that encapsulate the Windows API. These generally are less verbose as they require less parameters and will get you up and running quicker.
A quick google search for such classes yields the following. I can't vouch for it but codeproject.com generally has good free code on it.
http://www.codeproject.com/Articles/21453/Class-to-handle-the-Windows-Registry-operations
Simple C File Handling In Action Small code snipet which covers most of basic file handling and navigat
in Programming
Posted · Report reply
I should point out a small bug in your code. if( argc < 2 ) { printf("\nUsage: acrh <filename>\n"); }You need a return statement in the "if" block. probably returning a non zero error value which is the standard way of doing it in C.