AI开发C语言应用按步走,我的基础开发环境

我的开发环境介绍

1、基本开发环境

  • 操作系统是Win11,用VMware虚拟了一个Ubuntu26.4,所有开发都在虚拟机上进行。
bash 复制代码
song@song-VMware-Virtual-Platform:~$ uname -a
Linux song-VMware-Virtual-Platform 7.0.0-22-generic #22-Ubuntu SMP PREEMPT_DYNAMIC Mon May 25 15:54:34 UTC 2026 x86_64 GNU/Linux
  • Ubuntu桌面环境采用默认的GNOME中文环境
  • Ubuntu安装后配置输入法,选择了中文极点五笔86输入法
  • 浏览器是系统默认安装的Firefox
  • 终端是系统默认安装的GTerminal
  • 代码编辑器是Emacs30.2
bash 复制代码
ong@song-VMware-Virtual-Platform:~$ emacs --version
GNU Emacs 30.2
Development version 67920fe8bccf on master branch; build date 2026-02-06.
Copyright (C) 2025 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

2、开发工具

  • C语言编译器:GCC15
bash 复制代码
 song@song-VMware-Virtual-Platform:~$ gcc --version
gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • C语言调试工具:GDB17
bash 复制代码
ong@song-VMware-Virtual-Platform:~$ gdb --version
GNU gdb (Ubuntu 17.1-2ubuntu1) 17.1
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
  • 构建工具:make
bash 复制代码
ong@song-VMware-Virtual-Platform:~$ make --version
GNU Make 4.4.1
为 x86_64-pc-linux-gnu 编译
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
  • 内存检测工具:valgrind
bash 复制代码
song@song-VMware-Virtual-Platform:~$ valgrind --version
valgrind-3.26.0
  • Javascript语言开发工具:nodejs与npm
bash 复制代码
song@song-VMware-Virtual-Platform:~$ node --version
v22.22.1
song@song-VMware-Virtual-Platform:~$ npm --version
9.2.0
  • python语言与工具pip
bash 复制代码
song@song-VMware-Virtual-Platform:~$ python3 --version
Python 3.14.4
song@song-VMware-Virtual-Platform:~$ pip3 --version
pip 25.1.1 from /usr/lib/python3/dist-packages/pip (python 3.14)
  • 版本控制工具:git
bash 复制代码
song@song-VMware-Virtual-Platform:~$ git --version
git version 2.53.0
  • 网络传输工具:curl
bash 复制代码
song@song-VMware-Virtual-Platform:~$ curl --version
curl 8.21.0 (x86_64-pc-linux-gnu) libcurl/8.21.0 OpenSSL/4.0.1 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.69.0 ngtcp2/1.23.0 nghttp3/1.17.0 mit-krb5/1.20.1 OpenLDAP/2.6.10
Release-Date: 2026-06-24
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt mqtts pop3 pop3s rtsp scp sftp smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

3、atomcode

  • atomcode选择linux版本,直接下载,复制到用户主目录下的atom目录,在终端中运行,每次运行,都自动检测升级
bash 复制代码
song@song-VMware-Virtual-Platform:~/atom$ ./atomcode --version
atomcode 5.0.0 (unknown)
  • 首次运行atomcode,自动登录领取AtomCode CodingPlan免费权益
  • 运行/webui命令,打开浏览器,通过WebUI与atomcode沟通
  • 选择大模型,我选用deepseek-v4-flash
  • plan模式,atomcode收集信息,制订计划
  • build模式,如果计划无误,确认执行

4、检测系统开发环境

  • 注意,在WebUI中输入:检查一下目前这个系统,准备做为开发环境
  • 对!这就开始了!!!
  • 根据你的需求,与atomcode对话吧,我就是用atomcode配置的emacs,来开发C语言和python语言,实现代码高亮显示,关键字补全等功能!!!

5、我的目标

用atomcode来构建一个简单的表达式计算器程序,名叫calc,达到输入表达式,程序输出运算结果的功能,目标简单,便于实现,通过这一过程,提高理解、学习和使用AI工具的能力!!!

后续文章就是calc的构建步骤,都是atomcode生成和总结的,文字和代码都未改动,只通过WebUI或TUI命令行来和atomcode沟通,达到构建成型的目的。

相关推荐
EXI-小洲6 小时前
Java 操作 Word:字符串替换、图片插入、动态生成表格与API接口下载
java·开发语言·spring boot·word
会周易的程序员6 小时前
给 PLC 写一个字节码虚拟机:STVM 虚拟机架构设计
开发语言·c++·虚拟机·软plc·iec61131·stvm
机器视觉知识推荐、就业指导7 小时前
为什么老说“纯 Qt 没啥就业市场”?
开发语言·qt
telepan7 小时前
Qt 开发避坑与性能指南:如何优雅、安全地定义全局常量字符串?
开发语言·qt
m0_695251497 小时前
Qt MaintenanceTool 使用国内镜像加速下载(超详细教程)
开发语言·qt
是隼人7 小时前
buuctf-pwn xdctf2015_pwn200题解(学习过程持续更新)
c语言·学习·安全·pwn入门·ctf入门
大衛說8 小时前
《Python 从入门到精通》系列总览与学习路线
开发语言·python·学习
可乐鸡翅yeah_9 小时前
hls.js 内存泄漏实战排查,直播 M3U8 长时间播放异常定位方案
开发语言·javascript·python·django·ecmascript·m3u8·m3u8在线
2601_962203519 小时前
Java进阶07集合(续)
java·开发语言
郑州光合科技余经理10 小时前
本地生活服务系统:模块边界与结算字段怎么拆
java·开发语言·前端·后端·系统架构·uni-app·php