lgy514

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年7月16日

摘要: #include <chrono> #define TIMEDEBUG #ifdef TIMEDEBUG #define RD(X) {RunDuration o;o.begin();##X;o.end(#X);} class RunDuration { public: inline void be 阅读全文
posted @ 2020-07-16 16:36 lgy514 阅读(360) 评论(0) 推荐(0)

2020年7月8日

摘要: https://support.microsoft.com/zh-cn/help/2284668/fix-string-literals-are-misinterpreted-by-the-visual-c-compiler-in-vis https://www.cnblogs.com/jiangx 阅读全文
posted @ 2020-07-08 10:19 lgy514 阅读(175) 评论(0) 推荐(0)

2020年7月3日

摘要: https://zxkjack123.github.io/cython/cython-hello-world/ 阅读全文
posted @ 2020-07-03 15:01 lgy514 阅读(510) 评论(0) 推荐(0)

2020年6月30日

摘要: 当C语言程序初始化时(刚进入到 main() 时),locale 被初始化为默认的 C locale,其采用的字符编码是所有本地 ANSI 字符集编码的公共部分,是用来书写C语言源程序的最小字符集(所以才起locale名叫:C)。也就是说,默认locale是C,字符集是ascii 当我们的输入是一组 阅读全文
posted @ 2020-06-30 17:53 lgy514 阅读(391) 评论(0) 推荐(0)

2020年6月29日

摘要: CMAKE_MINIMUM_REQUIRED (VERSION 3.10)project(myclienttest) IF (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") SET (CMAKE_CXX_FLAGS "-std=c++11 -Wl,-rpath,./ 阅读全文
posted @ 2020-06-29 15:17 lgy514 阅读(298) 评论(0) 推荐(0)

摘要: use mysql;SELECT user,host FROM user;问题解决#方法1 CREATE USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123123'; //修改密码认证方式为mysql_native_passwo 阅读全文
posted @ 2020-06-29 14:19 lgy514 阅读(1747) 评论(0) 推荐(0)

摘要: windows创建和调用静态库 // MathFuncsLib.h namespace MathFuncs { class MyMathFuncs { public: // Returns a + b static double Add(double a, double b); // Returns 阅读全文
posted @ 2020-06-29 14:14 lgy514 阅读(2302) 评论(0) 推荐(0)

2020年6月14日

摘要: https://blog.csdn.net/afei__/article/details/81201039 阅读全文
posted @ 2020-06-14 15:18 lgy514 阅读(1191) 评论(0) 推荐(0)

2020年6月12日

摘要: from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import sys class myC(QWidget): def __init__(self): super().__init__ 阅读全文
posted @ 2020-06-12 11:07 lgy514 阅读(1726) 评论(0) 推荐(0)

2020年5月27日

摘要: Python 基础学习总结 https://www.cnblogs.com/feeland/p/4502931.html https://www.runoob.com/python/python-modules.html 阅读全文
posted @ 2020-05-27 00:43 lgy514 阅读(91) 评论(0) 推荐(0)