上一页 1 2 3 4 5 6 7 8 ··· 29 下一页
摘要: #include <iostream>#include <string>#include <Windows.h>#include <fstream>#include <sstream>#include <signal.h>#include <io.h>#include <vector>#includ 阅读全文
posted @ 2023-05-17 14:08 江南王小帅 阅读(77) 评论(0) 推荐(0)
摘要: 创建软链接 ln -s [源文件或目录] [目标文件或目录] 例如: 当前路径创建test 引向/var/www/test 文件夹 ln –s /var/www/test test创建/var/test 引向/var/www/test 文件夹 ln –s /var/www/test /var/tes 阅读全文
posted @ 2023-03-16 13:07 江南王小帅 阅读(379) 评论(0) 推荐(0)
摘要: 具体解决步骤如下: 打开Visual Studio Installer,点击修改,点击单个组件,在编译器、生成工具和运行时中找到Windows通用CRT SDK,勾选安装 打开项目文件,点击工具栏中的调试,打开属性,更改Windows SDK版本,应用。但是我这边并不行 所以我安装了8.1的SDK, 阅读全文
posted @ 2023-02-16 16:27 江南王小帅 阅读(1242) 评论(0) 推荐(0)
摘要: Linux 配置vim/**********************************************/Vim 是最重要的编辑器之一,主要有下面几个优点。1.可以不使用鼠标,完全用键盘操作。2.系统资源占用小,打开大文件毫无压力。3.键盘命令变成肌肉记忆以后,操作速度极快。4.服务器默 阅读全文
posted @ 2023-02-15 10:07 江南王小帅 阅读(1075) 评论(0) 推荐(0)
摘要: 目前适用于Ubuntu18.04的GCC/G++ 11不在稳定仓库中,因此需要源码编译或者添加PPA仓库安装。 具体步骤: 源码包下载:GCC 添加PPA仓库安装: bash执行添加PPA源add-apt-repository ppa:ubuntu-toolchain-r/test更新软件源sudo 阅读全文
posted @ 2023-01-09 11:28 江南王小帅 阅读(2783) 评论(0) 推荐(0)
摘要: 设置工程属性中的字符集Character Set为多字节字符集还是Unicode引发两个bug后,找到如下资料: 解决方法一: 通常手动输入的字符串都是const char*(即LPCSTR)类型的,因此只需将该句中的MessageBox改为MessageBoxA即可。 解决方法二: 参数使用“_T 阅读全文
posted @ 2022-12-16 15:11 江南王小帅 阅读(1794) 评论(0) 推荐(0)
摘要: void main() { //字符串转字符数组 string name = "ddddd"; char buf[] = {0}; strcpy(buf , name.c_str());//字符串转字符数组,使用strcpy cout << name.c_str() << endl;//name.c 阅读全文
posted @ 2022-12-14 13:46 江南王小帅 阅读(304) 评论(0) 推荐(0)
摘要: #!/usr/bin/python import xlrd import os ''' #read last line head data with open('ReadMac.txt',"r") as file: file_content = file.readlines() #把全文档读取为一个 阅读全文
posted @ 2022-12-07 15:48 江南王小帅 阅读(109) 评论(0) 推荐(0)
摘要: 读取文件夹内的所有表,输入想要查询的表名,列出对应表页签,查询对应内容并打印出来 import xlrd print('输入‘x’返回上一步!!!') while True: print('\n输入想要查询的表:') bio_name = input() with open('dizhi.txt', 阅读全文
posted @ 2022-12-07 12:25 江南王小帅 阅读(88) 评论(0) 推荐(0)
摘要: #!/usr/bin/python import xlrd # 打开excel表格 data_excel = xlrd.open_workbook('macHex-MMQ873-PCL.xls') # 获取所有sheet名称 names = data_excel.sheet_names() # 获取 阅读全文
posted @ 2022-12-07 11:52 江南王小帅 阅读(562) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 29 下一页