
17.12.2008, 02:36
|
|
Участник форума
Регистрация: 26.02.2006
Сообщений: 209
С нами:
10633766
Репутация:
93
|
|
#include "stdafx.h"
# include <stdio.h>
# include <string.h>
int _tmain(int argc, _TCHAR* argv[])
{
char buffer[15];
int a;
printf("Enter a, please:");
scanf("%s", &buffer);
if (strcmp(buffer, "END")) {
printf("END_NO");
}
else {
printf("END_OK");
}
return 0;
}
вот
|
|
|