howdy.c
来自「C.Game.Programming.For.Dummies.原码」· C语言 代码 · 共 20 行
C
20 行
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
void main()
{
char *string;
string = (char *)malloc(80);
if(string==NULL)
printf("Not enough memory");
else
{
strcpy(string,"Howdy! Howdy! Hi!");
printf("%s",string);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?