Thread: borland c++

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    4

    Question borland c++

    hello,

    i want to make a reaction timer, that when you press a button you measure the time which wil be displayed in a graphic. and then 4 trise.

    i don't now how to start, can anybody help???
    henk.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    21
    hey....

    you can start using a variable
    t_beggining=time (NULL);
    at the beggining, at the end of ur program, an other:
    t_end=time(NULL);

    to have the result, subtract them:

    T_reaction=t_end-t_beggining;

    hope it helps....

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    4

    borland c++

    DeViLs_SouL
    what do you mean
    can you explain the program or a little bit of
    the source code


    ....much thx

Popular pages Recent additions subscribe to a feed