Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Abre Arquivo

a guest Oct 19th, 2012 36 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.         FILE* p_arquivo = NULL;
  6.         //abre o arquivo
  7.         p_arquivo = fopen("MD5SUMS", "r");
  8.  
  9.         if (p_arquivo == NULL)
  10.         {
  11.                 printf("Erro na abertura do arquivo\n");
  12.                 exit(1); //sai se tiver error
  13.         }
  14.  
  15.         //fecha o arquivo
  16.         fclose(p_arquivo);
  17.         return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top