Форум HeroesWorld-а - Показать сообщение отдельно - 66 6c 6f 6f 64
Тема: 66 6c 6f 6f 64
Показать сообщение отдельно
#58
Старый 19.10.2010, 10:20
  #58
^
Hermit
 
Аватар для Hermit
📖
Регистрация: 08.09.2008
Сообщения: 1957
Регистрация: 08.09.2008
Сообщения: 1957
По умолчанию
Re: 66 6c 6f 6f 64

#include<stdio.h><br>#include<conio.h><br>#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><br>#include<conio.h><br>#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,"Codes should not be here"); for(i=0; i<strlen i> {<br> fprintf(output, "%x ", str[i]);<br> }<br> fclose(output);<br>}<br><br><img src="images/smilies/biggrin.gif" border="0" alt="" title="&#1057;&#1084;&#1077;&#1093;" class="inlineimg"></strlen>
__________________
Всё не так плохо как Вы думаете. Всё намного хуже!
Всё не так плохо как Вы думаете. Всё намного хуже!
Hermit вне форума
Ответить с цитированием