Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Auto-increment build in VC++?

This topic is 5631 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well with all this crazy compiler talk i went out and downloaded Dev-C++, it''s a pretty nice environment, but I''ve ultimately decided I don''t like it over VC++ 6, for plenty of reasons, but thats just me. I await future versions though! It has potential. Anyway, i DO like, a lot, the feature in Dev-C++ where it auto-increments the build number on compile and saves it to a header, where i can include that and then use that number in the program. Is there something like this in VC++? Either saving it in a file or as some kind of environment variable? Thanks in advance. -plasmicsoup Gilgamesh Games

Share this post

Link to post
Share on other sites
Well cause no one knows i solved it myself! I made it part of my games functionality; I set the compiler to run with command lines "-b" and using my command line parser i made that load a file with the build version in it and increment the number. learn some simple file i/o and you can do it no problem.

Gilgamesh Games

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!