Creating Version Numbers

This is a discussion on Creating Version Numbers within the C++ Programming forums, part of the General Programming Boards category; Hi, Hope someone can help me. What i would like to do is create a version number everytime the program ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    29

    Question Creating Version Numbers

    Hi,

    Hope someone can help me.

    What i would like to do is create a version number everytime the program is compiled, put the version number on the GUI and place it in a txt file.

    Any ideas??

    I know its possible in VB using the App.Major App.Minor App.Revision etc.

    So how can i do this in C++??

    Thanks very much for any help whatsoever,


    P

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    Depends highly on the build tools you are using. What are they?

    gg

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    29
    hi,

    sorry, im using MS VS VC++ 6.0.

    thanks

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    Here is one way you can do it.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 10:13 AM
  2. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 10:38 AM
  3. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 04:42 PM
  4. Creating a story with random numbers!
    By Dilmerv in forum C++ Programming
    Replies: 4
    Last Post: 04-04-2006, 02:22 AM
  5. Creating a file with random numbers question??
    By Hoser83 in forum C Programming
    Replies: 28
    Last Post: 02-16-2006, 02:11 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21