C
CppNewer
And Is there any class or method to manipulate Date or Time In standard C++?
-------Thank all
-------Thank all
-------Thank all
Now of the above are standard C++ library functions, <ctime> definesChristopher said:include the <ctime> header
look up:
time_t
GetTime()
tm
LocalTime()
or just a reference for <ctime>
Now of the above are standard C++ library functions, <ctime> defines
localtime, and gmtime which should serve the OP's requirements.
What isn't C++?Sam said:It's not C++, but rather POSIX.
time() is C++.See the time() and/or gettimeofday() man pages.
Ian said:What isn't C++?
time() is C++.
See 20.5.Sam said:No, it's not. The latest C++ language speficiation, as defined by
ISO/IEC 14882:2003, does not define any function called "time()".
CppNewer said:And Is there any class or method to manipulate Date or Time In
standard C++?
-------Thank all
Sam said:"Date or Time". There's no such thing called "Date or Time" in the C++
language.
No, it's not. The latest C++ language speficiation, as defined by
ISO/IEC 14882:2003, does not define any function called "time()".
"Date or Time". There's no such thing called "Date or Time" in
the C++ language.
No, it's not. The latest C++ language speficiation, as defined
by ISO/IEC 14882:2003, does not define any function called
"time()".
application_pgp-signature_part
1KDownload
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.