// 引用stdio.h文件
// stdio.h std: std:standard i:input o:output 标准输入输出文件
#include <stdio.h>
// main主函数-程序入口,一个文件只有一个main函数
// int代表整型 main函数前添加一个int代表main返回个正向
int main(){
// 这里为要运行的任务
// 在屏幕上输出 hello world
// 使用print function --printf 打印函数
// printf为C语言提供的函数,所以需要引用stdio.h文件
printf("hehe world!\n");
return 0;
}
第一课,初识C语言
原创
©著作权归作者所有:来自51CTO博客作者乛繎的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
C语言编程第一课
刚入门的C语言带大家一起学习啦!
高级语言 计算机语言 -
初学C语言 ||第一课整理
小菜鸟初学~~整理整理学到的知识
C语言;学习;初学; -
第一课 初始C语言(1)
打卡第一天
c语言 生命周期 局部变量 -
B站C语言第一课
B站C语言第一课
局部变量 全局变量 Visual -
C语言:第一课,认识框架
学习学语言笔记:认识C语言框架
整型 库函数 主函数