又来请教问题、、、、、
#include <stdio.h>void main ()
{
char A, B, C;
printf ("输入大写字母:A, B, C");
sacanf ("%c %c %c",&A, &B, &C);
printf ("%d, %d, %d\n%c, %c, %c\n", A, B, C, A+32, B+32, C+32);
}
warning C4013: 'sacanf' undefined; assuming extern returning int
error C2065: 'A' : undeclared identifier
error C2065: 'B' : undeclared identifier
error C2065: 'C' : undeclared identifier
[ 本帖最后由 飞飞我也 于 2012-7-9 16:32 编辑 ]