Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Copyright (c) 2012 [iPs]TeaM
- * Bruno da Silva (email@brunodasilva.com)
- * Função FileExists em C++! Checar a existência de um arquivo
- *
- * www.brunodasilva.com
- * www.ips-team.forumeiros.com
- */
- #include <sys/stat.h>
- bool FileExists(char * arquivo)
- {
- struct stat statVar;
- return (stat ( arquivo, &statVar ) == 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement