Computing.Net > Forums > Programming > Using current time in C++

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Using current time in C++

Reply to Message Icon

Name: CompFreek101
Date: March 6, 2006 at 17:22:02 Pacific
OS: Ubuntu Linux 5.10
CPU/Ram: 500mhz, 320mb
Product: IBM ThinkPad
Comment:

Hello.
Does anybody know how to use the current time in C++? What I intend to do is have a function within my program execute when hours past midnight is equal to 9 and minutes past 9 is 30. I don't need to utilize seconds. If anybody needs more info just ask, as it is a bit hard to explain.

Thanks everybody.



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: March 6, 2006 at 21:35:39 Pacific
Reply:

check out this thread:

http://www.tek-tips.com/viewthread.cfm?qid=246034


0

Response Number 2
Name: Prissy
Date: March 9, 2006 at 08:44:57 Pacific
Reply:

if you know how to get it from DOS, use the system function ie system("cls") for clearing the screen ... although, that command escapes me at this time :-s

HTH


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Using current time in C++

Timing in C www.computing.net/answers/programming/timing-in-c/6925.html

How to use string array in C++? www.computing.net/answers/programming/how-to-use-string-array-in-c/9478.html

DOS commands in C www.computing.net/answers/programming/dos-commands-in-c/9449.html