Thread: IDEA (Probably not original): Source Version Control

  1. #1
    Shadow12345
    Guest

    IDEA (Probably not original): Source Version Control

    I am just starting windows api programming. I was wondering if you guys think it would be a good idea to try writing a program that controls the version of the program you are working on. The program can use simple input/output streams to save to text files with the .cpp extension. The program could save every so many minutes based on user configuration using the GetTickCount() function. There could be menus that show the date the particular source was saved, plus a description that can be modified by the user (otherwise the description will just show the date).


    Also, do you know of any software other than visual studio that does anything similar to what i described?

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    PVCS is commonly used in Windows.

    I would imagine there are dozens of freeware/shareware version control systems out there. Have a look at some shareware sites.
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

    BigAngryDog.com

  3. #3
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    there are web-based CVS's too.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    There's a good one here, too.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

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, 09:13 AM
  2. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  3. My first Scanner (real Open Source)
    By Lynux-Penguin in forum Linux Programming
    Replies: 0
    Last Post: 04-30-2002, 12:12 AM