(一)第一个demo的编写及编译
发布时间:2023年12月31日
内容
书写第一个demo—Hello world!
编译demo程序
编写Demo.c
打开Notepad++,新建一个文件,写入内容并保存



编译demo.c生成可执行的demo.exe
打开命令中断(搜索框输入cmd即可打开)

进入demo.c文件所在路径
输入的指令是:cd xxx
cd C:\Users\26067\Desktop\csdn\4.C语言代码\0

借助gcc工具编译demo.c 生成可执行的demo.exe
指令:
gcc demo.c -o demo

执行demo.exe
输入指令再回车:
demo.exe

----- 如有错误欢迎大家批评指正!!!
文章来源:https://blog.csdn.net/m0_52555663/article/details/135307844
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!