Sunteți pe pagina 1din 1

#include "stdafx.

h" int _tmain(int argc, char* argv[]){ int i; for(i=0;i<256;i++)printf("%d = %c\n",i,i); /* Se va gasi intr-o locatie de genul C:\Users\administrator\Documents\Visual Studio 2012\Projects\ConsoleApplication6 \ConsoleApplication6\coduri ascii.txt */ FILE *f=fopen("coduri ascii.txt","w"); for(i=0;i<256;i++)fprintf(f,"%d = %c\n",i,i); fclose(f); return 0; }