📄 例1-1.c
字号:
/* Note:Your choice is C IDE */
#include <stdio.h>
#include <stdlib.h>
main()
{
char * str;
if((str=(char *)malloc(50))==NULL)
{
printf("\n No enough memory to allocata for the string.");
exit(1);
}
printf("\n Input the string:");
gets(str);
puts(str);
free(str);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -