当前位置:网站首页>编写C语言的最简单小程序Hello world
编写C语言的最简单小程序Hello world
2022-06-30 16:00:00 【fen_fen】
1、编写demo.c程序
#include<stdio.h>
int main()
{
printf("Hello world!");
return 0;
} 
2、编译成可执行文件
$gcc demo.c -o demo

3、执行
[[email protected] testhu]# ./demo
Hello world!
边栏推荐
- 解决方法:STM32使用cJSON解析数据失败
- 以往我们认识的产业互联网,只是以消费互联网的替代者的身份出现
- Redis elimination strategy
- “推广+搞笑剧情”,如何碰撞出爆款的火花?
- geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
- [demo] write file circularly
- ssh工具 pyqt
- leetcode:1042. 不邻接植花【随机填入符合要求的 + 后面不会形成矛盾 + set.pop】
- Differential analysis between different groups nichenet for silicosis runs successfully!
- Exch:修复丢失的系统邮箱
猜你喜欢

3D chart effectively improves the level of large data screen

Cesium-1.72 learning (eagle eye map of the earth)
![[wechat applet] basic use of common components (view/scroll-view/wiper, text/rich-text, button/image)](/img/3b/05dbf03024088c5f94363f157a1701.png)
[wechat applet] basic use of common components (view/scroll-view/wiper, text/rich-text, button/image)

Data security compliance has brought new problems to the risk control team

Data mining knowledge points sorting (final review version)

EMQ 助力青岛研博建设智慧水务平台

登录框Tricks

基于SSM实现毕业设计管理系统

Redis elimination strategy

Differential analysis between different groups nichenet for silicosis runs successfully!
随机推荐
Data mining knowledge points sorting (final review version)
redis淘汰策略
万卷书 - 欧洲的门户 [The Gates of Europe]
24: Chapter 3: develop pass service: 7: user defined exceptions (to represent errors in the program); Create graceexceptionhandler to handle exceptions globally and uniformly (build JSON data of corre
[JVM] takes you to learn about the garbage collection mechanism (GC) in the JVM -- including diagrams
水平视觉错误效果js特效代码
Multi terminal collaboration of Huawei accounts to create a better internet life
[C language] explain threads - start two threads
TCP socket and TCP connection
Sub chain cross technology source level exploration: an overview of xcvm
编译丨迅为iTOP4412开发板Makefile编译
Bridge emqx cloud data to AWS IOT through the public network
HMS core audio editing service 3D audio technology helps create an immersive auditory feast
geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
MySQL advanced notes
【JVM】一文带你了解JVM中的垃圾回收机制(GC)——内含图解
每日刷题记录 (九)
山西化工园区智能化管控平台建设时间表
svg实现的订票UI效果
The new version of Shangding cloud | favorites function has been launched to meet personal use needs