tuple是一个固定大小的不同类型值的集合,是泛化的 std::pair。可以当做一通用的结构体使用,不需要创建结构体而又获取结构体的特征,在某些情况下可以取代结构体,使程序简洁、直观。创建tuple 1. make_tupe tuple tp = make_tuple(sendPack...
分类:
编程语言 时间:
2015-09-12 18:52:33
阅读次数:
150
SteanTime Limit:1 Second Memory Limit:65536 KB Special JudgeTom is good at making stean, he can make steans of various color and shape. Now he want to...
分类:
其他好文 时间:
2015-09-12 18:49:00
阅读次数:
185
$ git clone --depth=1 https://github.com/raspberrypi/linux$ cd linux$ KERNEL=kernel7$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconf...
分类:
Web程序 时间:
2015-09-12 17:43:26
阅读次数:
450
转https://mostlylinux.wordpress.com/troubleshooting/nonetwork/http://www.intel.com/support/network/sb/CS-032514.htm下载驱动,sudo make installsudo modprobe ...
分类:
系统相关 时间:
2015-09-12 06:14:07
阅读次数:
161
I. Open Android SDK Manager II. Config User Defined Sites Add this url to "User Defined Sites": http://android-mirror.bugly.qq.com:8080/android/repository/addon.xml III. Config Proxy Make sue to se...
分类:
移动开发 时间:
2015-09-12 01:09:28
阅读次数:
291
User ainta has a permutationp1,?p2,?...,?pn. As the New Year is coming, he wants to make his permutation as pretty as possible.Permutationa1,?a2,?...,...
分类:
其他好文 时间:
2015-09-11 23:32:26
阅读次数:
317
1. 安装gcc,g++,make等开发环境yum groupinstall"Development Tools"2. 安装boostyum install boost boost-devel boost-doc注意:默认的安装路径在/usr/lib64目录下#include #include .....
分类:
其他好文 时间:
2015-09-11 23:25:38
阅读次数:
188
server.pyfrom wsgiref.simple_server import make_serverfrom ex import applicationhttpd=make_server('',8000,application)print 'Serving Http on port 8000...
分类:
其他好文 时间:
2015-09-11 18:56:03
阅读次数:
195
系统ubuntu, gcc 4.8.31. 安装nodeJSwget https://nodejs.org/dist/v4.0.0/node-v4.0.0.tar.gztar zxvf node-v4.0.0.tar.gzcd node-v4.0.0/./configuremake && make ...
分类:
Web程序 时间:
2015-09-11 15:36:52
阅读次数:
145
Part I. 直接启动下载官网下载安装tar zxvf redis-2.8.9.tar.gzcd redis-2.8.9#直接make 编译make#可使用root用户执行`make install`,将可执行文件拷贝到/usr/local/bin目录下。这样就可以直接敲名字运行程序了。make ...
分类:
其他好文 时间:
2015-09-11 14:10:21
阅读次数:
202