假设我们是在桌面创建一个 C 源程序。
首先,打开 Shell,然后在桌面创建一个 .c 文件:
![20201225181854](https://cdn.jsdelivr.net/gh/fanlumaster/BlogMaps@master/blogs/pictures/20201225181854.png)
然后,编写程序:
![20201225182003](https://cdn.jsdelivr.net/gh/fanlumaster/BlogMaps@master/blogs/pictures/20201225182003.png)
然后,编译并运行程序:
![20201225182108](https://cdn.jsdelivr.net/gh/fanlumaster/BlogMaps@master/blogs/pictures/20201225182108.png)
参考:https://www.bilibili.com/video/BV1tt411B7gu?from=search&seid=13509683900373033522
假设我们是在桌面创建一个 C 源程序。
首先,打开 Shell,然后在桌面创建一个 .c 文件:
然后,编写程序:
然后,编译并运行程序:
参考:https://www.bilibili.com/video/BV1tt411B7gu?from=search&seid=13509683900373033522