Thread: Help: Finding only Last modified file or Created file

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    2

    Help: Finding only Last modified file or Created file

    im not very familiar with C++ yet and im trying to make a program that can go into a directory and be able to get the filename of the last modified file or last created file whichever works. ive been thinking of a way to use FindFirstFile but im not sure how this would be able to get that. Any help would be greatly appreciated.


    Thanx
    -Lagrz

  2. #2
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Or mine for Windows. The extended part of the tutorial shows how to get the dates etc.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    2
    sorry i meant to say Windows but the linux tut was pretty usefull for another project i have in mind thanx

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  3. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  5. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM