摘要:
再查资料说,应该是缺乏了Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT下的4个dll.还有人说安装vcredist_x86.exe 就可以了,看来依存的dll应该就在这个包里面,至于具体是否如此,还需要验证.我明天把编译好的东西cp到公司机器来,试一下就知道了. 铁一样的事实证明,是缺少了那三个dll文件所导致的这个错误,只要把三个dll复制到执行程序exe的当前目录下面,就可以了,这三个dll分别是:msvcm80.dll,msvcp80.dll,msvcr80.dll.居然还害得我装了一个sp1的补丁包,哭呀...... 阅读全文
摘要:
cximage wincehttp://www.xdp.it/download.htm#cximagemngwince webkithttp://trac.webkit.org/wiki/WinCE 阅读全文
摘要:
类内通过去const来实行修改内容#include <stdio.h>class A{public: A():m_width(0), m_height(0) { } void create() { *(const_cast<int*> (&m_width)) = 10; *(const_cast<int*> (&m_height)) = 100; }public: const int m_width; const int m_height;};int main(){ A a; a.create(); printf("%d %d\n& 阅读全文
摘要:
[zz]http://blog.csdn.net/hangazi/article/details/6996998新建c++智能设备程序时 出现脚本错误file:///D:/Program%20Files/Microsoft%20Visual%20Studio%208/VC/VCWizards/2052/Common.js解决方法:http://blog.csdn.net/allenky/article/details/2289737Visual Studio 2005 无法创建"智能设备"解决办法 .Are you having issues creating native 阅读全文
摘要:
#include <iostream>#include <cstdlib>#include <queue> using namespace std; struct Node{ int x, y; bool operator<(const Node& b) const { return x > b.x; }};int main(){ priority_queue<Node> q; for( int i= 0; i< 10; ++i ) { Node n; n.x = rand(); n.y = ra... 阅读全文
摘要:
############################################################################## OpenNI makefile.# # default configuration is Release. for a debug version use:# make CFG=Debug## default compiler is g++. for another one use:# make CXX=<comp>## By default, CLR projects will only be build if mono i 阅读全文
摘要:
#!/bin/sh -eusage="Usage: $0 [OPTIONS]Installs OpenNI to current machine.-i,--install Installs OpenNI (default mode)-u,--uninstall Uninstalls OpenNI.-c,--cross-compile-rootfs <path> Used for cross-compiling. Installs OpenNI to <path> instead of '/'.-h,--help Shows this help 阅读全文