码迷,mamicode.com
首页 >  
搜索关键字:jsp include    ( 101623个结果
hdu 3047 Zjnu Stadium
http://acm.hdu.edu.cn/showproblem.php?pid=3047带权并差集 1 #include 2 #include 3 #include 4 #define maxn 60000 5 using namespace std; 6 7 int f[maxn],d...
分类:其他好文   时间:2014-05-08 10:37:28    阅读次数:287
NOI2007项链工厂——sbTreap代码
1 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 struct node 10 { 11 int data; 12 int le...
分类:其他好文   时间:2014-05-08 10:31:35    阅读次数:362
hdu 1213 How Many Tables
http://acm.hdu.edu.cn/showproblem.php?pid=1213 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 7 int f[maxn],n,m; 8 ...
分类:其他好文   时间:2014-05-08 10:10:44    阅读次数:308
const
#include#includeusing namespace std;int main(){ const int N=100; int const N=100; //二者等价 int mark=0; //1 int* ref_mark=&mark; int* c...
分类:其他好文   时间:2014-05-08 10:02:04    阅读次数:205
template(1)
#include#includetemplateinline T const& max(T const& a,T const &b){ //如果a<b,那么返回a return a<b?b:a;}int main(){ int i=42; std::cout<<"max(7,...
分类:其他好文   时间:2014-05-08 09:50:44    阅读次数:264
boost::bind实践2——来自《Beyond the C++ Standard Library ( An Introduction to Boost )》
直接代码:代码段1: 1 #include 2 #include 3 #include 4 5 class some_class 6 { 7 public: 8 typedef void result_type; 9 void print_string(const ...
分类:编程语言   时间:2014-05-08 09:49:53    阅读次数:368
kernel&uboot学习笔记
ubootkerneluboot1、根据include/configs/$(target).h可以生成include/autoconf.mk。kernel1、由.config生成的autoconf.h的位置: include/generated/autoconf.h 或者 include/linux...
分类:其他好文   时间:2014-05-08 05:20:40    阅读次数:275
linux下使用c判断文件夹是否为空的小程序
/*自己写了一个判断文件夹是否为空的小代码打开文件夹的函数在man的时候要加 man 3 readdir, */#include #include #include #include #include int isdirempty(char *dirname){ /* 打开要进行匹配的文件目录 */...
分类:系统相关   时间:2014-05-08 01:31:53    阅读次数:855
自定义QToolButton
最近做界面需要添加很多工具栏按钮,所以自己定义了一个Button直接上代码 1 #include "SettingButton.h" 2 #include 3 #include 4 5 _DIYButton::_DIYButton(QWidget *_Parent) : 6 QTool...
分类:其他好文   时间:2014-05-08 01:21:32    阅读次数:310
POJ/obc - Step Traversing a Tree
即黑书里的“隔三遍历”,具体分析见黑书,我只是想了下证明没啥好说的。#include #define MAXV 5005#define MAXE ((MAXV << 1) - 2)int N;int Vefw[MAXE], Vt[MAXE], Veh[MAXV], Veptr;int V...
分类:其他好文   时间:2014-05-08 01:05:12    阅读次数:396
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!