这篇文章是根据目前 chrome 稳定版(19.0.1084.52 m)写的, 因为 google 也在不断完善chrome developer tool, 所以 chrome 版本不同可能稍有差别. 一些快捷键也是 windows 上的, mac 下的应该大同小异.
常规的断点相关的 breakpoint/conditional-breakpoint/call-stack/watch-ex...
分类:
其他好文 时间:
2014-10-08 16:03:15
阅读次数:
420
真心不好意思说话,写的越多,各种问题就暴漏出来了,这次更离谱,什么错误都有。。。不过还是过了。也明白了代码以后要写规范性,不能想当然。。。
#include
#include
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
using namespace std;
const int M = 50...
分类:
其他好文 时间:
2014-10-08 12:47:15
阅读次数:
199
String a="a";String b="b";String c="ab";String d="ab";String e=a+b;程序中用来存放数据的内存分为四块1、全局区(静态区)(static)2、文字常量区 :常量字符串就是放在这块区域,即是我们常说起的常量池。3、栈区(stack):存放...
分类:
编程语言 时间:
2014-10-07 23:48:34
阅读次数:
222
最近学习中,遇到一些平时很少使用的C++语言知识,其实扩展开去也不仅仅限于C++语言知识,很多面向对象的语言都会遇到类似的问题。今天结合资料做一下小结,也希望你能够帮助到有需要的朋友。 通常对象可以定义在对或栈中,一般用new,malloc等函数或运算符声明的对象定义在堆中,其他的定义在栈中。栈区(stack):由编译器自动分配释放,存放函数的参数值,局部变量的值等,其组织方式类似于数据结构中的栈。...
分类:
其他好文 时间:
2014-10-07 23:46:34
阅读次数:
273
使用Hibernate官方文档上的以下代码进行测试时报出这个异常。
org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
package org.hibernate.tutorial.util;
import org.h...
分类:
数据库 时间:
2014-10-07 18:24:53
阅读次数:
655
这题昨天比赛的时候逗了,后缀想不出来,因为n^2的T了,就没往后缀数组想……而且之后解题的人又说用二分套二分来做,然后就更不会了……
刚才看了题解,唉……原来题解说n^2的也可以过,然后就……这样了!
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#incl...
分类:
其他好文 时间:
2014-10-07 12:48:13
阅读次数:
196
在新建一个 TableView 的时候, 程序出现如下错误:Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView]...
分类:
其他好文 时间:
2014-10-07 01:58:52
阅读次数:
454
前面我们写过类似的Stack:template >class Stack{public: void push(const T &); void pop(); T top() const; bool empty() const;private: Al...
分类:
其他好文 时间:
2014-10-07 01:19:22
阅读次数:
349
最近在做mono 3.10针对socket性能方面的测试,在想对压力比较高的情况下发现了mono的一个bug会导致程序引发未知异常从而导致程序结束的严重问题. 错误信息 Unhandled Exception:
System.InvalidOpera...
分类:
其他好文 时间:
2014-10-07 00:36:32
阅读次数:
405
n个点m条无向边
输出一条哈密顿回路
#include
#include
#include
using namespace std;
const int N = 155;
int n, m;
bool mp[N][N];
int S, T, top, Stack[N];
bool vis[N];
void _reverse(int l,int r) {
while...
分类:
其他好文 时间:
2014-10-06 23:35:01
阅读次数:
189