Results 1 to 6 of 6

Thread: File Exist [Resolved]

Threaded View

  1. #1

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    File Exist [Resolved]

    I haven't worked with files in a while and seemed to have forgoten how to check if a file exists or not.

    The purpose of this is for my game I'm working on and I'm adding a snapshot feature. It'll save into snaps like this "SNAP0000.bmp". Plus I'm gonna have a variable that'll increment everytime you take a snapshot. It'll first start off at 0. Then it'll check if SNAP0000.bmp exists. If it does, it'll ignor it and increment to the next number. If it doesn't, it'll save the file. Thanks in advance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width