I cant seem to use
in ubuntu (eclipse). What is the GNU/linux equivalent?
Look at localtime() to fill your tm struct.
Originally Posted by anduril462
Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
Originally Posted by quzah
..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.
Date and Time - The GNU C Library
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge