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





To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=:HM/A=2376776/rand=178602430


Yahoo! Groups Links

Reply via email to