Good morning, my name is Li Huan. It’s really a great honor to have this opportunity for a interview. I hope I can make a good performance today. Now ...
分类:
其他好文 时间:
2014-07-07 12:11:36
阅读次数:
194
C++ double类型转string类型后,怎么实现小数点后只显示一个数字#include #include #include template std::string fmt(T in, int width = 0, int prec = 0) {std::ostringstream s;s <...
分类:
编程语言 时间:
2014-07-07 12:05:31
阅读次数:
231
今天下午做项目的时候遇到了这个错误找了很多原因没找出,在蛋疼之际找出了问题,Silverlight调js方法的时候 js方法里面不能出现一点问题,如果有一点问题就会报这个错误.
分类:
移动开发 时间:
2014-07-07 12:03:03
阅读次数:
192
1 #include 2 #include 3 #include 4 using namespace std; 5 int main(){ 6 string s,sp; 7 cin>>s; 8 for(int i=0;i<4;i++){ 9 int ...
分类:
其他好文 时间:
2014-07-07 12:01:37
阅读次数:
169
$("#myDiv"); //根据给定的ID匹配一个元素,用于搜索id 属性中给定的值,id属性必须是唯一的$("div"); //根据给定的元素名匹配所有元素,搜索指向dom节点的标签名$(".myClass"); //根据给定的类匹配元素,用以搜索的类。一个元素可以有多个类,...
分类:
Web程序 时间:
2014-07-07 12:00:08
阅读次数:
261
1、使用FileStream读写文件 文件头: using System;using System.Collections.Generic;using System.Text;using System.IO; 读文件核心代码: byte[] byData = new byte[100];char[]...
分类:
其他好文 时间:
2014-07-07 11:52:47
阅读次数:
151
通用Eclipse自动安装的地址已经有变更:网上搜的地址都是http://erlide.org/update。但是现在这个地址已经失效了。下面的是官网的说明。Install Erlide by going toHelp → Install new software.... In the dialog...
分类:
系统相关 时间:
2014-07-07 11:50:09
阅读次数:
285
1.下载opencv 2.4.4.exe。如果只下载源代码,没有build文件夹。2. 在环境变量中加入path\build\x86\v10\bin3. 配置vs2010.在solution explorer->VCC direction中:include directories:path\buil...
分类:
其他好文 时间:
2014-07-07 11:49:24
阅读次数:
181
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 double t,pai=1,son=1,mum=1; 6 int i=1; 7 cin>>t; 8 while(son/mum>=t){ 9 ...
分类:
其他好文 时间:
2014-07-07 11:43:21
阅读次数:
207
Have you calledcvNamedWindowyet? It will not work withoutcvNamedWindow.http://stackoverflow.com/questions/7697819/why-cvwaitkey0-doesnt-work