21.1. File names and directory structure
In this section we describe a manual method for keeping track of the version number of your code.
In general, you should change the output file name (as described in Exercise 3.4 or in the table in Appendix C) to put a version number to the name of your executable. It’s also a good idea to put this information into the caption in the top bar of the program window, you might put both the current program version number and its build date there. Thus, the caption ought to say something like ‘Your Name, MyApp, Version 2 – March 22, 1999.’ The date is helpful because sometimes you’ll be in a process of making minor changes to your program without assigning a fresh new version number to its directory, and then ...
Get Software Engineering and Computer Games now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.