|
Так ФИ!!!
**************************************************
*******
#include <stdio.h>
main()
{
char s;
//printf("Please enter 1, 2 or 3" );
while(s!='1' && s!='2' && s!='3')
{
// вот будет один раз выскакивать!
printf("Please, enter the number 1, 2 or 3.\n\n");
scanf("%c", &s);
if(s!='1' && s!='2' && s!='3')
//printf("Please, enter the number 1, 2 or 3.\n\n");
}
}
**************************************************
А про файлы с С не знаю... про ++ могу сказать.
*******
|