Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

check file exist cpp

Method exists_test0 (ifstream): **0.485s**
Method exists_test1 (FILE fopen): **0.302s**
Method exists_test2 (posix access()): **0.202s**
Method exists_test3 (posix stat()): **0.134s**
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #file #exist #cpp
ADD COMMENT
Topic
Name
1+6 =