how to use time.h in c++ please guys help me.

Recommended Answers

Here is a complete list of the available time functions. When to use what all depends on what you want to do.

Jump to Post

All 2 Replies

Here is a complete list of the available time functions. When to use what all depends on what you want to do.

It's the same as in C, except that the header is included with #include <ctime>, and all the functions and stuff are in the std namespace (so you have to do std:: in front of each name, or do a using-statement).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.