----------------------------------
Peace and love,
Tweety
[EMAIL PROTECTED] - [EMAIL PROTECTED]
YahooID: tweety_04_01
> -----Original Message-----
> From: bretedward [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 25, 2004 1:36 PM
> To: [EMAIL PROTECTED]
> Subject: [c-prog] Obtaining a sub-second time stamp
>
>
>
> Inside my C program, I would like to capture the current system time
> at a sub-second level and stuff it into a variable. All of the C time
> related functions that I am finding only go down to the second.
>
> There is a DOS command "time" that returns the system to the
> screen down to 100ths of a second. I can call it from my C program
> with: system("time); I have tried using it directly in my C program
> script with no
> success. The problem is that I don't know how to capture it when it
> shows up on the screen, not to mention that the DOS window pops up
> and disappears in a flash. I have tried using the C command getchar.
> This also does not work.
>
> I would like to capture the time in a string variable in my
> program.
>
> Thanks to the folks that answered my last question regarding host
> name. It solved my problem.
>
> Thanks,
>
> Bret
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
> --------------------------------------------------------------
> ------~->
>
> To unsubscribe, send a blank message to
> <mailto:[EMAIL PROTECTED]>.
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
