Help: Finding only Last modified file or Created file

This is a discussion on Help: Finding only Last modified file or Created file within the C++ Programming forums, part of the General Programming Boards category; im not very familiar with C++ yet and im trying to make a program that can go into a directory ...

  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,831
    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, 11:39 PM
  2. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 05:27 PM
  3. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 02:04 PM
  4. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 05:54 PM
  5. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 10:54 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21