方法一:
char *a;
static char z;
a = &z;
gets(a);
NSString *intput = [NSString stringWithUTF8String:a];
方法二:
char l[20];
scanf("%s",l);
NSString *[email protected](l);
时间: 2024-10-29 04:31:13
方法一:
char *a;
static char z;
a = &z;
gets(a);
NSString *intput = [NSString stringWithUTF8String:a];
方法二:
char l[20];
scanf("%s",l);
NSString *[email protected](l);