FILE *f; int tamanho; char *asd; f=fopen("mail.txt","r"); if(f==NULL) erro("Erro abrir file"); fseek(f,0,SEEK_END); tamanho=ftell(f); rewind(f); asd=(char *)malloc(tamanho+1); fread(asd,1,tamanho,f);
f=fopen("mail.txt","rb");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)