04 2012 档案
摘要:#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
阅读全文
浙公网安备 33010602011771号