fgets() gets

char ch[10];

	fgets(ch, sizeof(ch), stdin);

	printf("ch = %s\n", ch);

  

猜你喜欢

转载自www.cnblogs.com/mayichen0823/p/10164031.html