码迷,mamicode.com
首页 >  
搜索关键字:fun    ( 10813个结果
Axapta 3 COM Connector
Axapta 3 COM ConnectorCopy from blogHaving fun setting up the COM+ connector for Enterprise Portal forAxapta 3 SP3Eventually did the following to get ...
分类:其他好文   时间:2014-08-13 17:45:46    阅读次数:211
【HDOJ】4737 A Bit Fun
水题。不过题目很有趣儿。 1 #include 2 3 #define MAXN 100005 4 5 int a[MAXN]; 6 7 int main() { 8 int t, n, m; 9 int i, j, k, tmp, ans;10 11 scanf("...
分类:其他好文   时间:2014-08-13 01:00:24    阅读次数:177
POJ 1579 Function Run Fun 记忆化递归
典型的记忆化递归问题。 这类问题的记忆主要是利用数组记忆,那么已经计算过的值就可以直接返回,不需要进一步递归了。 注意:下标越界,递归顺序不能错,及时判断是否已经计算过值了,不要多递归。 或者直接使用动态规划法填好表也是可以的。 #include #include const int MAX_N = 21; int W[MAX_N][MAX_N][MAX_N]; int g...
分类:其他好文   时间:2014-08-12 10:26:23    阅读次数:232
成员函数的函数配接器
在STL标准库中除了提供常规的函数配接器外,还提供了两个针对成员函数的函数配接器,其主要功能是通过这些配接器,你可以针对每一个元素直接去调用其成员函数。 这样的成员函数配接器有两个,分别是: mem_fun_ref(op) 调用对象的成员函数op mem_fun(op) 调用对象指针的成员函数op 这两个函数配接器都是去调用对象中的成员函数op,对于这两个成员函数,以前是只能调用对象的...
分类:其他好文   时间:2014-08-12 00:46:03    阅读次数:193
PHP 图片处理
缩小图片// 如果尺寸过大 >300kb,则减小尺寸 if($attach['size'] > 300000) { $create_fun_map = array('jpg' => 'imagecreatefromjpeg', 'jpeg' => 'imagecreatefrom...
分类:Web程序   时间:2014-08-11 17:33:22    阅读次数:278
php 获取后缀的几种方法
1:function get_extension($file){ substr(strrchr($file, '.'), 1);}2:function get_extension($file){ return substr($file, strrpos($file, '.')+1);}3:fun.....
分类:Web程序   时间:2014-08-11 14:47:52    阅读次数:264
模拟 --- hdu 12878 : Fun With Fractions
FunWithFractionsTime Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:65536KBTotal submit users:152, Accepted users: 32Problem 12878 : No specia...
分类:其他好文   时间:2014-08-09 23:13:49    阅读次数:410
如何使用指向函数的指针
在使用指向函数的指针调用函数时,可以使用两种形式: 定义:int (*fun)(int a,int b); 赋值:fun = fun1; 调用:fun(a,b);或者(*fun)(a,b);均可。 下面是测试程序:(Visual Studio 2013)#define _CRT_SECURE_NO_...
分类:其他好文   时间:2014-08-09 18:12:38    阅读次数:159
P164
#include #include #define N 8 typedef struct list { int data; struct list *next; }SLIST; SLIST *creatlist(int *); void outlist(SLIST *); int fun(SLIST *h) { SLIST *p;int s=0; p=h->next; while(p) ...
分类:其他好文   时间:2014-08-09 13:32:57    阅读次数:297
Android系统简介(上):历史渊源
上个月,看到微信的一系列文章,讲到Linux的鼻祖-李纳斯的传记《Just for Fun》, 其人神乎其能, 其人生过程非常有趣,值得每个程序员细细品味。 而实际上,对我而已,虽然做软件开发很多年,但是对Linux非常不熟悉,仅仅听过几个名词而已。 没有用过Linux? 几乎不可能,全球智能手机中...
分类:移动开发   时间:2014-08-09 02:26:26    阅读次数:366
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!