I always see programs that say things like, Version: 1.5.6, or something. My question is, how do I properly determine the version?
I’m a C++ programmer, so I would think this is kind of important. I also use Visual Studio Ultimate 2012.
EDIT:
How do I add the version in the code as well?
There is no real standard or anything, but this is the general practice:
The leftmost number represents the “most major” number, meaning it’s incremented when the software changes a lot, always upon breaking changes.
The rightmost number represents the “most minor” number, meaning it’s incremented every time the program is released. This is good for changes like bugfixes.
The numbers in-between simply cover changes of medium importance, e.g. non-breaking, yet large changes like a major bugfix.
Whenever a number is changed the numbers to the right are reset to 0
1.X marks the first usable version, 0.X can be seen as beta/alpha versions