Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Read and respond to this message at:
Read the documentation for ctime(). The glibc manpage says: "The return value
points to a statically allocated string which might be overwritten by subsequent
calls to any of the date and time functions."
I.e. call ctime() once and print out the result, then call it again and print
out the result. Now you are passing two pointers to the same static buffer to
printf(), so no wonder you get the same date string twice.
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: