Перейти к содержанию
Аватар пользователя
#58
Автопереведено
#include<stdio.h> #include<conio.h> #include<string.h> </string.h></conio.h></stdio.h> void main (void)
{
int c;
FILE *output;
int i;
output=fopen("2", "r");
clrscr();
while(fscanf(output, "%x ", &c)!=EOF)
{
printf("%c", c);
}
fclose(output);
getch();
}

#include<stdio.h> #include<conio.h> #include<string.h> </string.h></conio.h></stdio.h>

void main (void)
{
FILE *output;
int i;
char str[100];
output=fopen("1", "w");
clrscr();
strcpy(str,"Коды не должны здесь находиться"); for(i=0; i&lt;strlen(str); i++)></strlen(str);> {
fprintf(output, "%x ", str);
}
fclose(output);
}

:D
Всё не так плохо как Вы думаете. Всё намного хуже!