优化了命名
This commit is contained in:
13
C03-输入输出专题/IO/gets_puts.c
Normal file
13
C03-输入输出专题/IO/gets_puts.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define STRSIZE 32
|
||||
|
||||
int main()
|
||||
{
|
||||
char str[STRSIZE];
|
||||
gets(str);
|
||||
puts(str);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
Reference in New Issue
Block a user