Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

oWen

determine if a file exist?

This topic is 6933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m making a program that sends information to a server, and once the information is approved the data is sent back and should be stored in a file, then the user specifies a name for the output file, and if the file already exist it will rename the output filename. Is there a function that determines if a file with the same name in the directory already exist? If not, will I have to store all the files in the directory in an array and search the array?

Share this post


Link to post
Share on other sites
Advertisement
I tried this and it doesnt work, what library is this function in or is it a compiler directive?

Edited by - Owen on 5/2/00 5:50:04 PM

Share this post


Link to post
Share on other sites
Try taking out the underscore in access. Failing that search for access in the compilier help.


Andrew

Share this post


Link to post
Share on other sites
quote:
Original post by oWen

I tried this and it doesnt work, what library is this function in or is it a compiler directive?

Edited by - Owen on 5/2/00 5:50:04 PM


Nm.... I figured it out Thanks man


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!