| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Time.h example please
hi guys, im extremely new to ANSI/ISO C and i need to wite a program that works much like the cal function in UNIX. the problem is i've got no idea where to start.
I've been told to use tme.h to retrieve all the dates and so on, but i cant seem to find an example or tutorial on how to use it (not one that i can understand) and so i was wondering if anyone could point me somewhere, or even suggest some other way to do it. |
|
#2
|
|||
|
|||
|
Quote:
Google about Tme structure. Time is a structure with many fields.It gives you time from year to milliseconds. What does "cal" function do in UNIX. Maybe I can help after knowing it. |
|
#3
|
|||
|
|||
|
Quote:
eg if i type cal 12 2006 it will bring up a calender for december 2006 Thanks for your reply, and thanks in advance for any other help you may provide |
|
#4
|
|||
|
|||
|
Follow this :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_crt_time.asp |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Time.h example please |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|