方法一:
char *a;
static char z;
a = &z;
gets(a);
NSString *intput = [NSString stringWithUTF8String:a];
方法二:
char l[20];
scanf("%s",l);
NSString *intput=@(l);
方法一:
char *a;
static char z;
a = &z;
gets(a);
NSString *intput = [NSString stringWithUTF8String:a];
方法二:
char l[20];
scanf("%s",l);
NSString *intput=@(l);