How can I get the date of when a file was created? I am running Windows.
For C, it depends on which operating system you are coding for. Files are a system dependent concept.
If you're system has it, you can go with the stat()
(and friends) function: http://pubs.opengroup.org/onlinepubs/009695399/functions/stat.html.
On Windows you may use the GetFileTime()
function: http://msdn.microsoft.com/en-us/library/ms724320%28v=vs.85%29.aspx.