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++
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.
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
Summary: Hello all, I was wondering if anybody could help me with timing in C. Im trying to make a solar system program, and putting aside all the OpenGL worries I have, Ive come stuck on trying to get a funct...
Summary: Hi, I don't know how to do the following because I don't know how to use the string array in C++. Please Help!!! Thanx! #include <iostream.h> #include <string.h> class pizza { private: char**...
Summary: I'm not sure I remember from my C++ days (which are quickly coming back to haunt me since my operating systems class is all C...), but do you need to escape the slash? c:\\mydir This question is asked...