06 2022 档案

摘要:gcc编译命令总共有四个步骤,下面是具体操作: 1、首先需要用文本文件编写代码,一般用 touch 命令:“touch 文件名”, 即可创建一个文件。 2.在命令行里输入touch hllo.c .就能文件夹中创建一Tell.c文件了,打开文件编写"hello word"并保存。 3、写好了一个C代 阅读全文

posted @ 2022-06-23 16:40 牛man 阅读(183) 评论(0) 推荐(0) 编辑

摘要:Gcc 编译详细介绍 转载自http://www.cnblogs.com/ggjucheng/archive/2011/12/14/2287738.html 2简单编译 2.1预处理 2.2编译为汇编代码(Compilation) 2.3汇编(Assembly) 2.4连接(Linking) 3多个 阅读全文

posted @ 2022-06-23 16:35 牛man 阅读(33) 评论(0) 推荐(0) 编辑

摘要:>>>import glob >>> glob.glob('*.c') ['ate_entry.c', 'ate_init.c', 'main.c'] glob模块提供了一个函数用于从目录通配符搜索中生成文件列表 阅读全文

posted @ 2022-06-20 17:35 牛man 阅读(78) 评论(0) 推荐(0) 编辑

摘要:os.path.join()函数:连接两个或更多的路径名组件 #1如果各组件名首字母不包括’/‘,函数会自动加上 import os path1 = 'home' path2 = 'code' path12 = path2 + path1 path120 = os.path.join(path1,p 阅读全文

posted @ 2022-06-20 16:26 牛man 阅读(38) 评论(0) 推荐(0) 编辑

摘要:https://www.jianshu.com/p/2b1bad470673 阅读全文

posted @ 2022-06-18 17:21 牛man 阅读(1988) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示