上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 37 下一页
摘要: 用loss.txt画loss图 import matplotlib.pyplot as plt import scipy def plot_loss(fileName): print("Start to plot loos line") allData = [] file = open(fileNa 阅读全文
posted @ 2022-11-01 15:49 starc的miao 阅读(44) 评论(0) 推荐(0)
摘要: 静态库 动态库 CMakelists.txt cmake_minimum_required(VERSION 3.22) # 指定版本 message("Hello myProject") # 打印信息 project(myProject LANGUAGES C CXX) # 项目名称,指定编译器类型 阅读全文
posted @ 2022-11-01 03:26 starc的miao 阅读(53) 评论(0) 推荐(0)
摘要: CMakeList 从浅入深详细介绍CMake C++构建项目 project 文档 安装 sudo apt install cmake 源码安装,官方下载,命令行编译安装 基础脚本 CMakeLists.txt cmake_minimum_required(VERSION 3.22) messag 阅读全文
posted @ 2022-11-01 02:56 starc的miao 阅读(89) 评论(0) 推荐(0)
摘要: 第一版 /* Linux API:fflush function:实现交互式 */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> void nemu(void); void fun_sleep(const char *c); i 阅读全文
posted @ 2022-11-01 00:19 starc的miao 阅读(82) 评论(0) 推荐(0)
摘要: remove-指定创建和删除文件 remove /* Linux API:getotp\open\mkdir\rmdir function:选择参数实现创建对应文件和删除功能 */ #include <stdlib.h> #include <fcntl.h> #include <unistd.h> 阅读全文
posted @ 2022-10-31 22:11 starc的miao 阅读(52) 评论(0) 推荐(0)
摘要: 第一版 /* Linux API: 实现 ls command */ #include <sys/types.h> #include <dirent.h> #include <unistd.h> #include <stdio.h> int main(int argc , char* argv[]) 阅读全文
posted @ 2022-10-31 20:58 starc的miao 阅读(29) 评论(0) 推荐(0)
摘要: 镜像地址 http://man.linuxde.net/download/CentOS http://mirrors.btte.net/centos/7/isos/x86_64/ http://mirrors.cn99.com/centos/7/isos/x86_64/ http://mirrors 阅读全文
posted @ 2022-10-31 10:55 starc的miao 阅读(221) 评论(0) 推荐(0)
摘要: 1.打印字符串 #!/bin/bash <<! 打印字符串 知识点:echo、if、$、``、wc -c ! for s in Bash also interprets a number of multi-character options. do n=`echo $s | wc -c` # wc 阅读全文
posted @ 2022-10-29 12:22 starc的miao 阅读(23) 评论(0) 推荐(0)
摘要: 控制终端CL SmarTTY Cygwin 控制终端设置 setterm -inversescreen on setterm -inversescreen off setterm -background white setterm -foreground red black\red\green\ye 阅读全文
posted @ 2022-10-24 11:34 starc的miao 阅读(16) 评论(0) 推荐(0)
摘要: 认识shell和桌面环境 阅读全文
posted @ 2022-10-24 10:32 starc的miao 阅读(20) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 37 下一页