07 2020 档案
摘要:Python连接Mysql 1.安装对应的库 使用Python连接Mysql数据库需要安装相应的库 以管理员身份运行cmd,输入命令 pip install mysql-connector 安装完成后建立 test.py 写入 import mysql.connector 保存后运行 python
阅读全文
摘要:可以将安装源切换至国内 可以在 C:\Users\用户名 下新建pip文件夹 并在pip文件夹下新建pip.ini文件 并在pip.ini文件中写入 [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] tru
阅读全文
摘要:MFC基于vlc播放器的视频壁纸程序 详见最新版源码https://github.com/WindSnowLi/DynamicWallpaper 最初版源码项https://download.csdn.net/download/qq_44575789/12152673 最新版Qt重写版本https:
阅读全文
摘要:Unable to run Intel® HAXM installer: 无法启动过程,工作目录C:\Users\windSnowLi\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager不存在 w
阅读全文
摘要:C++获取流长度 #include <iostream> #include <fstream> using namespace std; int main() { ifstream File_test1; //以读取方式打开jpg文件 File_test1.open("1.jpg", std::io
阅读全文
摘要:java查找两个字符串的最长公共子串 package test; import java.util.Vector; public class test { public static String getChildStr(String str1, String str2) { int [][]rec
阅读全文
摘要:C++非文本文件写入混乱 C++使用fstream读取非文本文件时,一般常规读取就可以,例如将图片读取出来并存储到char数组 ifstream File_test1; //以读取方式打开jpg文件 File_test1.open("1.jpg", std::ios::in); //定位到文件末尾
阅读全文
摘要:C++自定义类(支持计算MD5摘要,支持Base64编码解码) 源码吗详见 https://github.com/WindSnowLi/test-string /*********************************************************************
阅读全文