最近codeblock不能调试了,一开始还以为把断点放在了函数里面,所以不行。 代码短,就自己看了, 有时候实在不行,真的要调试,那怎么办?其实很多时候是你的文件名的问题。 1、project的路径必须是纯英文 + 数字,不能含有空格。 2、这必须是个project而不是单一的一个cpp文件。 3、 ...
分类:
其他好文 时间:
2016-11-01 14:27:21
阅读次数:
233
Problem: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process ...
分类:
其他好文 时间:
2016-10-23 07:48:07
阅读次数:
191
https://blueprints.launchpad.net/myconnpy/+spec/sp-multi-resultsets Calling a stored procedure can produce multiple result sets. They should be retrie ...
分类:
其他好文 时间:
2016-09-17 09:30:07
阅读次数:
109
http://dev.mysql.com/doc/refman/5.7/en/get-diagnostics.html SQL statements produce diagnostic information that populates the diagnostics area. The GET ...
分类:
其他好文 时间:
2016-09-13 06:45:48
阅读次数:
192
翻译javadoc系列文章之:ExecutorService /** * An {@link Executor} that provides methods to manage termination and * methods that can produce a {@link Future} f ...
分类:
编程语言 时间:
2016-08-26 01:15:58
阅读次数:
190
Andy’s First Dictionary Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words t ...
分类:
其他好文 时间:
2016-08-23 01:37:21
阅读次数:
545
背景: 线上环境,出了一起事故,初步定位是rabbitmq server。 通过抓包发现,是有多个应用使用同一台rabbitmq server。并且多个应用使用rabbitmq的方式也不一样。发现有以下两种方式: 1. 每次produce 一条消息,开闭channel一次 2. 每次produce ...
分类:
其他好文 时间:
2016-07-31 01:44:11
阅读次数:
216
Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, n ...
分类:
其他好文 时间:
2016-07-24 20:57:07
阅读次数:
134
?unlist Given a list structure x, unlist simplifies it to produce a vector which contains all the atomic components which occur in x.unlist(v.row)[1] ...
分类:
其他好文 时间:
2016-07-24 16:26:42
阅读次数:
247
BackpressureRx 中的数据流是从一个地方发射到另外一个地方。每个地方处理数据的速度是不一样的。如果生产者发射数据的速度比消费者处理的快会出现什么情况?在同步操作中,这不是个问题,例如:// Produce
Observable producer = Observable.create(o -> {
o.onNext(1);
o.onNext(2);...
分类:
编程语言 时间:
2016-07-10 18:42:52
阅读次数:
400