Thread: gettick();

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    8

    Arrow gettick();

    hi all,

    just a quickie, can anyone forward me to or lend us an example of
    gettick()?

    and what header file is it in?

    cheers,
    Kev

  2. #2
    Open to suggestions Brighteyes's Avatar
    Join Date
    Mar 2003
    Posts
    204
    'gettick' isn't a standard function, check your compiler's docs to see where it is if you have it.

  3. #3
    eh ya hoser, got a beer? stumon's Avatar
    Join Date
    Feb 2003
    Posts
    323
    Try google, here is a search already started for you. Click me
    The keyboard is the standard device used to cause computer errors!

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    8
    Thanks alot

    found what I was looking for and it was GetTickCount();

    header files needed are

    <windows.h>
    <winbase.h>

    in case anyones interested

    Cheers,
    Kev

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    windows.h automatically includes winbase.h, actually.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

Popular pages Recent additions subscribe to a feed