自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 收藏
  • 关注

转载 POJ1001 Exponentiation

DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many...

2017-03-25 17:28:00 132

转载 centos 在安装YouCompleteMe时提示 Fatal : pyconfig.h No such file or directory

问题:centos 在安装YouCompleteMe时提示 Fatal :pyconfig.h No such file or directory解决:安装python-develyum install python-devel转载于:https://www.cnblogs.com/felove2013/p/6371330.html...

2017-02-06 18:05:00 140

转载 VMware12上安装CentOS无法上网问题

进入/etc/sysconfig/network-scripts目录下,查看有没有ifcfg-XXX的文件(ifcfg-lo除外),没找到网卡设备,原因:由于Vmware虚拟网卡和Linux兼容问题导致驱动无法正常安装,默认的网卡类型不兼容解决方法:找到我们的VMware虚拟机文件夹,打开.vmx文件,追加一条设置ethernet0.virtualDev="e1000"...

2017-01-21 15:53:00 123

转载 mysql报错:/usr/sbin/mysqld:unknown variable 'default-character-set=utf8'

  修改mysql的字符集时,为了将默认字符集设置为utf-8,便将/etc/my.cnf下[mysqld]加了一行default-character-set=utf8,但是在下次启动系统的时候,mysql登录不上,报错Can't connect to local MySQL serverthrough socket '/var/lib/mysql/mysql.sock'(2),...

2017-01-17 16:46:00 625

转载 centos7 python3.5安装mysqlclient1.3.9

MySQL-python目前不支持python3.5,可以使用mysqlclient下载地址:https://pypi.python.org/pypi/mysqlclient/1.3.9解压后进入目录:$ python setup.py build$ python setup.py install出现报错:mysql_config not found 的解决方法...

2017-01-16 10:43:00 207

转载 DirectDraw创建Windows窗口

KWindow.h KWindow.cppKDDrawWindow.cpp 1 #define STRICT 2 #define WIN32_LEAN_AND_MEAN 3 4 #include <windows.h> 5 #include <assert.h> 6 #include <tchar.h>...

2015-10-09 13:01:00 134

转载 二进制移位溢出

2015-09-1710:57:12////////////////////////////////////////////////////////////////////////////在进行二进制移位操作时,被移位的数的字节大小,决定了移位后是否会溢出//////////////////////////////////////////////////////////...

2015-09-17 10:58:00 446

转载 格式化时间 与 时间戳的转换

2015-08-0619:37:58 1 /*! 2 * <格式化时间与时间戳的转换> 3 * 4 * 2015/08/06 by <felove> 5 */ 6 #include <stdio.h> 7 #include <windows.h> 8 #include <time.h&g...

2015-08-06 19:38:00 101

转载 ADO 读取 ACCESS

1 #pragma once 2 #include <vector> 3 // 加入ADO支持库, 4 #import "C:\Program Files\Common Files\System\ado\msado15.dll" \ 5 no_namespace \ 6 rename ("EOF", "adoEOF") ...

2015-04-24 16:10:00 163

转载 Windows DOS 窗口设置字体颜色

2015-04-2110:54:43 1 #include <windows.h> 2 #include <iostream> 3 using namespace std; 4 #define Color_count 15 5 6 //void SetColor(unsigned short ForeColor = 3, un...

2015-04-21 10:55:00 240

转载 pure virtual function call

2015-04-0810:58:19基类中定义了纯虚函数,派生类中将其实现。如果在基类的构造函数或者析构函数中调用了该纯虚函数,则会出现R6205 Error: pure virtual function call对象在构造时,会先调用基类构造函数,但此时派生类对象还未构造成功,因此调用的纯虚函数的虚表指针指向基类的虚表,而基类的纯虚函数没有定义。如果是在基类的...

2015-04-08 10:59:00 167

转载 1 2 3 4 5 6 7 8 9 = 81 在1-9之间添加加减乘除号,使等式成立

1 /************************************************************************/ 2 /* 1 2 3 4 5 6 7 8 9 = 81 在1-9之间添加加减乘除号,使等式成立。 ...

2015-04-03 17:20:00 1885

转载 两个无符号类型想减结果存储的临时变量还是无符号类型

1 #include <stdio.h> 2 int main() 3 { 4 unsigned int dwVal = 0; 5 unsigned __int64 n64Val = 1; 6 if( dwVal - n64Val >= 20) 7 { 8 printf("%I64d\n"...

2015-03-13 14:11:00 118

转载 visual studio 引用lib

方法1:要具有lib文件和.h文件1.加入语句 #pragma comment(lib, 'C:\\test\\Debug\\test.lib'2.项目右键-〉属性-〉c++ -〉常规-〉附加包含目录-〉填入test.h文件的文件夹 ../../include方法2:这种方法可能移植的时候更方便一些1.项目右键-〉属性-〉链接器 ->常规 ->附加库目...

2014-11-25 16:14:00 135

转载 D3D 模板缓存的创建过程

下面是我对模板缓存创建的理解:1. 模板缓存是和深度缓存一起被创建的,将深度缓存的一部分作为模板缓存使用。深度缓存和模板缓存是在Direct3D初始化时创建的,D3DPRESENT_PARAMETERS结构便包含了深度缓存和模板缓存的格式typedef struct D3DPRESENT_PARAMETERS { UINT BackBuff...

2014-02-01 20:30:00 135

转载 VS2010常用快捷键

ctrl + K, ctrl + F  自动调整格式(选中内容)F12  转到定义ctrl + F12  转到声明ctrl + tab  文档窗口转换(下一个文档窗口)alt + F6  下一个面板窗口ctrl + K,ctrl + C   注释选择的代码ctrl + K,ctrl + U  取消对选择的代码的注释ctrl + M,ctrl + O  折叠代码...

2014-01-03 18:53:00 86

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除