ok, what is the proper way to get the version of your program, like majorupdatenumber.minorupdatenumber.buildnumber?
if you get to 10 minor updates, is that 1 major update. etc?
What is the real proper way, and how specific should you be?
Printable View
ok, what is the proper way to get the version of your program, like majorupdatenumber.minorupdatenumber.buildnumber?
if you get to 10 minor updates, is that 1 major update. etc?
What is the real proper way, and how specific should you be?
example v4.5.12 or something
major.minor.revision
is that what you wanted? :)
There isn't really a 'proper' way to do it. Usually you would give each build a build number, I guess that's the same as the revision number. When you feel you've made changes deserving of a different version, you increment the minor version, and when you feel you've made major changes, you increment the major version. I guess that's how it goes anyway. I don't think there's really a right/wrong way.
yeah, i thought it was pretty flexible, at least netscape thinks so. But i was just curious.
Usually, the Build number is for fixing existing bugs, fine-tuning stuffs. Minor and Major are just exactly what the name suggest.
Hope this helps.
substring.
In Borland C++ Builder, there is an option where it will automatically increment the build number every time you compile your program. I don't know if VC++ has this, but it might be worth checking out if you have it.
Cool, i have borland. Where is this option?
Goto Project|Options then click on the Version Info. tab and click on the appropriate checkbox to enable it.
Thanks a lot