- 博客(11)
- 收藏
- 关注
原创 进入Jasmine的世界——超强Javascript测试框架
Jasmine是一个javascript的测试框架, 可以用来单元测试, 也可
2014-09-21 20:19:02 8160 2
原创 poj 1248
#include #include #include #include #include #include using namespace std;struct r{ string s; int res;};bool comp(r r1, r r2){ return r1.s<r2.s;}int lToI(char c){ retur
2013-09-08 22:25:52 6014
原创 poj 1247
#include #include #include using namespace std;int cl(int n){ int c = 1; while(1!=n){ if(n%2 == 0){ n/=2; }else{ n=3*n+1; } c++; } return c;}int main(){#ifn
2013-09-08 14:17:15 563
原创 poj 1207
#include #include using namespace std;int cl(int n){ int c = 1; while(1!=n){ if(n%2 == 0){ n/=2; }else{ n=3*n+1; } c++; } return c;}int main(){#ifndef ONLINE_JUDGE f
2013-09-08 13:30:39 588
原创 POJ 1046
#include#include #include #include #include using namespace std;int test = 16;struct color{ int RGB[3];}; bool comp(float d1, float d2){ return (d1<d2); }double count(color
2013-08-23 17:37:55 520
原创 POJ 1007
#include#include #include #include #include using namespace std;struct DNA{ string s; int cc;};bool comp(DNA d1, DNA d2){ return (d1.cc < d2.cc);}int count(DNA& dna){ dna.c
2013-08-23 16:36:53 431
原创 QT QML 信号 处理 1
1.“固有”信号(attached signal),即Item等等中自带的信号,在信号名前加"on"(不含引号)可得到处理函数。2.对于无参数信号,最好在信号中和处理过程中把括号加上,不管你这样做不做,反正我这样做了。import QtQuick 1.0R
2011-09-08 23:35:10 1777
原创 在virtualBox中用ghost安装XP系统
[醒目]在最后选择“是否集成驱动的时候”,一定要选择否,不集成任何驱动,否则网卡出"vmware accelerated pcnet"的问题(前提是你安装过vmWare)前提:1.雨林木风xp,9.9版。2.virtualBox 4.0.4版操作过程:[重要]
2011-09-04 22:29:04 1258
转载 关于〈保护模式〉(自已写操作系统)
2008-01-26 23:06:41 我是不会放弃的 @鹏鹏 如果你懂得一点汇编,并且在网上多搜索一点资料,相信花几个晚上时间,你就能明白保护模式。 以\chapter3\a\pmtest1.asm为例子 首先你大致了解一下宏Descriptor的作用
2011-07-24 17:14:44 274
转载 dev c++ 无法调试
在Dev C++ 中点击调试时,弹出“Your project does not have debugging information, do you want to enable debugging and rebuild your project?” 就算点击Yes也无法调试
2011-07-22 09:51:27 944
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人