fgets() gets

char ch[10];

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

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

  

posted @ 2018-12-23 13:27  谋定而后动?  阅读(149)  评论(0编辑  收藏  举报