![]() |
![]() |
|||||||||
|
If you don't think carefully, you might belieive that programming is just typing statements in a programming language. -- W. Cunningham |
||||||||||
|
Version This program is designed to auto increment the build number of a program with each build. To use, put version.exe and build.cpp into the same directory. Add build.cpp to your project, and call the BUILDNUMBER() function from your program. You will have to add the line "extern int BUILDNUMBER()" to the top of whatever file you use the function in. Finally, tell your linker to call version.exe as a pre-link step. Each time the program is run, the code for BUILDNUMBER() is modified. If you wish to reset the build counter, modify the number on the fourth line of the BUILDNUMBER() function in build.cpp. |
||||||||||
|
Files |
||||||||||