Anyone have a program to find the time difference in C?
Thanks,
Deepak.
Examine difftime() as defined in time.h
#include <stdio.h>
int main(void)
{
printf("The time difference between now and now is...\n\n\n\n"
"Exactly 0.000 seconds !!!\n");
return 0;
}
If that doesn't answer your question, you need to work on answering it
better.
Did you mean the time difference between orange and green?
The time difference between grass and asphalt?
You probably get the idea.
--
Jack Klein http://JK-Technology.Com
FAQs for
news:comp.lang.c http://c-faq.com/
news:comp.lang.c++ http://www.parashift.com/c++-faq-lite/
news:alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
While pondering on this, the OP might want to read his compiler's notes
or manpage on the content of time.h
--
Mark McIntyre
CLC FAQ <http://c-faq.com/>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>