添加了一个Dialog资源,修改了ID之后右击资源添加了一个类,在类里面有一个成员变量:// 对话框数据 enum { IDD = IDD_GETIN };而在编译过程中出现报错,错误代号是error C2065 : 未声明的标识符,我的第一反应是为什么我没通过手动添加资源而是通过VS添加都会出现这...
分类:
其他好文 时间:
2014-06-25 20:45:45
阅读次数:
223
转载请注明转自: 存储系统研究, 本文固定链接:
socket connect error 99(Cannot assign request address) 这是最近使用libcurl写http服务的压力测试的时候遇到的一个问题,其直接表象是客户端在发送http请求时失败,最终原因是客户端的TIME_WAIT状态的socket进程过多,导致端口被占满。下面看整个分析过程:
(1) 首先看...
分类:
其他好文 时间:
2014-06-25 19:55:59
阅读次数:
1011
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject]
You must restart adb and Eclipse.
[2013-08-31 16:11:56...
分类:
移动开发 时间:
2014-06-24 23:51:52
阅读次数:
514
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note:
You may not engage in multiple transactions at the same time (i...
分类:
其他好文 时间:
2014-06-24 23:28:43
阅读次数:
223
启动:
sudo /etc/init.d/mysql start
停止:
sudo /etc/init.d/mysql stop
重启:
sudo /etc/init.d/mysql restart
查看日志:
cat /var/log/mysql.err
cat /var/log/mysql/error.log...
分类:
数据库 时间:
2014-06-24 23:06:43
阅读次数:
242
1.Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you
r Gemfile
2.ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 director.y
3.rails 3遇到 Could n...
分类:
其他好文 时间:
2014-06-24 22:18:45
阅读次数:
316
You have been logged on with a temporary profile on windows2008 R2After looking into this issue, I saw the following user profiles and I didn’t see my...
分类:
其他好文 时间:
2014-06-24 21:25:26
阅读次数:
201
【题目】
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple times). H...
分类:
其他好文 时间:
2014-06-24 19:40:53
阅读次数:
240
今天写代码,想继承一个类,突然发现创建的类文件一片空白,如图
之后各种调试发现都解决不了问题,以为是装了xcode6 beta2 版本的问题,结果发现其实是我创建错了 我创建的是
差点删了2个xcode....让我去死一会儿吧......
分类:
其他好文 时间:
2014-06-24 17:33:26
阅读次数:
166
Problem DescriptionSome days ago, I learned the concept of LCM (least common multiple). I've played with it for several times and I want to make a big...
分类:
其他好文 时间:
2014-06-24 15:01:58
阅读次数:
168