摘要: /** * 拷贝文件 * @param src 原文件 * @param des 目标文件 * @return ture 拷贝成功, false 拷贝失败 */ bool CopyFile(const char* src, const char* des) { FILE* fSrc = fopen( 阅读全文
posted @ 2022-05-26 14:01 leochan007 阅读(185) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="content"> <page-head title='南京市公交查询'></page-head> <view class="input-group"> <view class="input-row border"> <text class="titl 阅读全文
posted @ 2022-05-11 20:15 leochan007 阅读(11) 评论(0) 推荐(0) 编辑
摘要: /** * 执行添加 * @return * @throws UnsupportedEncodingException */ public String exAdd() throws UnsupportedEncodingException{ String newName = new String( 阅读全文
posted @ 2022-05-03 11:21 leochan007 阅读(9) 评论(0) 推荐(0) 编辑
摘要: /** * 跳转到添加页面 * @return */ public String add(){ return SUCCESS; } /** * 执行添加 * @return * @throws UnsupportedEncodingException */ public String exAdd() 阅读全文
posted @ 2022-05-03 10:59 leochan007 阅读(7) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include<direct.h> #include<io.h> bool CheckPathExist(std::string path) { if (access(path.c_str(), 0) == -1) { return false; } ret 阅读全文
posted @ 2022-03-18 16:18 leochan007 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 本文介绍,在Windows10系统下,如何彻底删除卸载MySQL 1.停止MySQL服务 开始——所有应用——Windows管理工具——服务,将MySQL服务停止。 2.卸载mysql server 控制面板\所有控制面板项\程序和功能,将mysql server卸载掉。 3.将MySQL安装目录下 阅读全文
posted @ 2022-03-13 09:20 leochan007 阅读(2346) 评论(0) 推荐(1) 编辑
摘要: package main import ( "reflect" ) type User struct { ID int Name string } func main() { user := User{} t := reflect.TypeOf(user) if _, ok := t.FieldBy 阅读全文
posted @ 2022-03-10 16:54 leochan007 阅读(221) 评论(0) 推荐(0) 编辑
摘要: // encripe_test.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <string> #include <iostream> using namespace std; //int key[] = { 1,2,3,4,5,6,7 }; in 阅读全文
posted @ 2022-03-09 21:27 leochan007 阅读(383) 评论(0) 推荐(0) 编辑
摘要: listen tcp :8090: bind: address already in use netstat -nap | grep 8090 kill 12973 后台运行 nohup go run main.go > myout.file 2>&1 & 阅读全文
posted @ 2022-02-26 16:44 leochan007 阅读(33) 评论(0) 推荐(0) 编辑
摘要: //功能函数 #include <vector> using namespace std; vector<CString> g_vSysFonts; INT CALLBACK NEnumFontNameProc(LOGFONT* plf, TEXTMETRIC* /*ptm*/, INT /*nFo 阅读全文
posted @ 2020-12-01 13:44 leochan007 阅读(570) 评论(0) 推荐(0) 编辑