上一页 1 2 3 4 5 6 7 8 ··· 95 下一页
摘要: #include #include #include using namespace std;void SplitString2Int(const string& src, string delimit, vector& vecRet){ string nul... 阅读全文
posted @ 2020-09-04 13:41 byfei 阅读(173) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashyum install -y zip* unzip* wget* gdb lrzsz#gmp安装cd /tmpwget ftp://ftp.gnu.org/gnu/gmp/gmp-6.1.0.tar.bz2 tar -jxvf gmp-... 阅读全文
posted @ 2020-08-30 00:47 byfei 阅读(777) 评论(0) 推荐(0) 编辑
摘要: 可能的错误/lib64/libc.so.6: version `GLIBC_2.14' not found strings /lib64/libc.so.6 |grep GLIBC_https://blog.csdn.net/ai2000ai/article/... 阅读全文
posted @ 2020-08-30 00:44 byfei 阅读(718) 评论(0) 推荐(0) 编辑
摘要: http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gztar -zxvf bash-5.0.tar.gzcd bash-5.0./configure && make && make installmv /bin/bash /bi... 阅读全文
posted @ 2020-08-30 00:41 byfei 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Here is a summary on how to install the toolset:Bring up the Visual Studio installer (Tools -> Get Tools and Features)Select Deskt... 阅读全文
posted @ 2020-08-20 12:38 byfei 阅读(49) 评论(0) 推荐(0) 编辑
摘要: //过滤特殊字符会导致数据库存储失败 空格、制表符、回车符、换行符组成的字符串inline bool CheckNameVaild( const char* pStrName ){ int nLen = strlen(pStrName); if(nLen = ... 阅读全文
posted @ 2020-07-08 23:53 byfei 阅读(147) 评论(0) 推荐(0) 编辑
摘要: //计算两个经纬度间的距离double D_jw(double wd1, double jd1, double wd2, double jd2){ double x, y, out; double PI = 3.14159265; double R = 6.3... 阅读全文
posted @ 2020-07-08 23:50 byfei 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 比如我们和前端互通的包大小限制是4K,如果发一个大于4K的包就无法发送,这时候就需要和前端拆包和包。 bool LobbyServer::SendPbMsgToClient(PlayerNode *lpPlayerNode, unsigned short ty... 阅读全文
posted @ 2020-06-26 23:23 byfei 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 问题描述 前后端用的UTF8,前后端正常,navicat.exe编辑链接->高级->选择UTF8也不乱码,但是选择自动就乱码。 现在我们后台那边也乱码,所以我怀疑自动编码就是mysql默认编码。 我 vi /etc/my.cnf 设置了编码也没用。最后试着修... 阅读全文
posted @ 2020-06-12 20:44 byfei 阅读(81) 评论(0) 推荐(0) 编辑
摘要: #pragma once#ifdef _WIN32#include #else#include #endif#include typedef unsigned long long uint64;namespace Extralib{ namespace Tim... 阅读全文
posted @ 2020-06-04 21:19 byfei 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 95 下一页