faqts : Computers : Programming : Languages : C

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 3 people (100%) answered Yes
Recently 3 of 3 people (100%) answered Yes

Entry

How can I check if a file exists

May 10th, 2006 11:13
Ankit Sharma, Anitha Rathnakumar,


You could try to open the file in read only mode. If it fails then we
could connclude that file does not exist