码迷,mamicode.com
首页 >  
搜索关键字:静态数组的分配 模板 vector    ( 45850个结果
meta program (1) swap_iter
开始学习模板元编程了 #include #include #include #include #include "boost/assign/list_of.hpp" #include "boost/type_traits/is_const.hpp" #include "boost/type_traits/is_reference.hpp" #include "boost/type_tr...
分类:其他好文   时间:2014-05-07 16:32:27    阅读次数:358
paip.提升效率--数据绑定到table原理和流程Angular js jquery实现
paip.提升效率--数据绑定到table原理和流程Angular js  jquery实现  html    #--keyword 1 #---原理和流程 1 #----jq实现的代码 1 #-----Angular 的实现 3     #--keyword  jquery 遍历表格tr  td Angular 模板绑定 #---原理和流程 获得所有的行,第一的头行.....
分类:Web程序   时间:2014-05-07 05:42:13    阅读次数:478
[bitset用法]SDUT 2841 Bit Problem
来源:点击打开链接 可以模拟过,不过练习这个题的目的是学习stl中的bitset,一个神奇的二进制容器. 和vector/MAP等容器一样,bitset具备stl库函数的几乎所有特性,同时加入了一些自己的东西,对二进制处理十分便利,尤其是在找零和找一的方面. ps:遍历的话,bitset默认是从后往前遍历的.所以不要自己再倒过来了. 一些库函数及用法的实例: 典型的bitset初...
分类:其他好文   时间:2014-05-07 04:36:52    阅读次数:331
一个依靠STL vector的接口进行申请和回收管理的内存池类( c++ 封装)
一个依靠STL vector的接口进行申请和回收管理的内存池类( c++ 封装)...
分类:编程语言   时间:2014-05-07 04:02:32    阅读次数:381
基于vector与CFile的学生信息管理系统
之前课堂上学了vector后一直没有用过,就写了下练了练手//student.hclass Student //学生类声明{private: char m_name[9]; char m_specialty[14]; int m_id; float ...
分类:其他好文   时间:2014-05-07 01:33:36    阅读次数:354
HDU 2243 考研路茫茫——单词情结(AC自动机+DP+快速幂)
题目链接错的上头了...这题是DNA的加强版,26^1 +26^2... - A^1-A^2...先去学了矩阵的等比数列求和,学的是第二种方法,扩大矩阵的方法。剩下就是各种模板,各种套。#include #include #include #include #include #include #in...
分类:其他好文   时间:2014-05-07 00:24:11    阅读次数:446
网络流模版
递归版 struct Edge { int from, to, cap, flow; Edge(){} Edge(int from, int to, int cap, int flow) : from(from), to(to), cap(cap), flow(flow){} }; int n, m, s, t; vector edges; vector G[maxn]; bool v...
分类:其他好文   时间:2014-05-06 23:39:25    阅读次数:351
hdu1223
n个数,只能用 F[i][j]=(F[i-1][j]+F[i-1][j-1])*j F[i][j]代表i个数,有j个不同值的情况。比如A 大数模板 #include #include const int MAX =505; struct BigNum { int num[MAX]; int len; } a[51][51]; BigNum Add(...
分类:其他好文   时间:2014-05-06 23:06:51    阅读次数:364
11.C语言泛型的支持
C++中使用模板技术来实现泛型,但是在C中是不支持模板技术的,怎么来实现泛型呢?本文演示了一种可行方法,希望对你有用。...
分类:编程语言   时间:2014-05-06 19:18:22    阅读次数:445
为Exchange Server 申请有效期超过2年的证书
为ExchangeServer创建超过2年有效期的证书:证书颁发机构CA所颁发出来的每一张证书都是具有有效期的,而CA颁发出来的证书根据应用分为很多种类,其有效期也各不相同,ExchangeServer使用的是CA颁发的WEB服务器证书。在默认的WEB服务器模板下申请出来的证书都只有2年的有效期。..
分类:其他好文   时间:2014-05-06 18:31:53    阅读次数:375
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!