I am working on a project in C, where I have to build a game that loses after some amount of time. Is there a way to do that?
Thanks a lot.
Printable View
I am working on a project in C, where I have to build a game that loses after some amount of time. Is there a way to do that?
Thanks a lot.
Can you explain a bit more about what you want, it's not very clear.
Here's some info on working with times
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
http://faq.cprogramming.com/cgi-bin/...&id=1043284392
Check out time.h.
Yeh, I was going to say that too, I thing dos.h has something for that too...