摘要: 弹出固定大小窗口<SCRIPT language=javascript> function openScript(url, width, height) { var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=n0' );}</SCRIPT><body> <a href='jav 阅读全文
posted @ 2012-10-25 19:11 真爱无限 阅读(627) 评论(0) 推荐(0) 编辑
摘要: http://www.nunit.org/index.php?p=download上面地址下载,有安装版的,有直接解压版的,只有里面的nunit.framewor.dll就可以做简单的测试了。安装版的路径默认为:C:\Program Files \NUnit 2.6\bin\framework\nunit.framewor.dll从vs2010中直接下载安装插件:安装完后提示重启vs,然后就可以打开用了,在视图中可以打开:然后写好测试代码之后,就能够看到结果,不对的话会有相应的错误。。其它的不说那么多了。。示例源码:http://download.csdn.net/detail/pukuimi 阅读全文
posted @ 2012-10-25 17:27 真爱无限 阅读(192) 评论(0) 推荐(0) 编辑
摘要: /*multimap特性key可以重复不支持下标访问*/#include<iostream>#include<string>#include "print.h"#include<map>using namespace std;typedef pair<int,string> pairmp;typedef multimap<string,double> MS;int main(){ MS m; m.insert(MS::value_type("t1",1000)); m.insert(MS::va 阅读全文
posted @ 2012-10-25 15:47 真爱无限 阅读(274) 评论(0) 推荐(0) 编辑