码迷,mamicode.com
首页 >  
搜索关键字:do while    ( 38720个结果
Struts2 filter vs interceptor vs listener 抄来的!!!
过滤器,是在java web中,你传入的request,response提前过滤掉一些信息,或者提前设置一些参数,然后再传入servlet或者struts2的action进行业务逻辑,比如过滤掉非法url(不是login.do的地址请求,如果用户没有登陆都过滤掉),或者在传入servlet或者 s....
分类:其他好文   时间:2014-07-22 23:16:33    阅读次数:440
20140429
1、单链表循环体用while(p->next!=NULL)而不用while(p!=NULL)的原因 node *Find_MidNode(node *head){ if(head->next==NULL||head->next->next==NULL) return head->next; node...
分类:其他好文   时间:2014-07-22 23:11:15    阅读次数:374
hdu 1005 数论 循环
给定 ab 与飞 f1 f2 求f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.分析:1 因为mod7 0using namespace std;int main(){ int a,b,n; int f[1005]; while(cin>>a>...
分类:其他好文   时间:2014-07-22 23:06:34    阅读次数:391
ZOJ 3706 Break Standard Weight 解题报告
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5009题目意思:给出两个mass:x 和 y,问如何将其中一个 mass 一分为二(当然分完之后它们的和要等于原来的mass,或x 或 y),使得利用这三个mass 可称...
分类:其他好文   时间:2014-05-01 16:32:19    阅读次数:405
我的grub.cfg配置文件
路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT THIS FILE## It is automatically generated by grub-mkconfig using templates# from /etc/grub.d and settings ...
分类:其他好文   时间:2014-05-01 16:29:15    阅读次数:452
hdu 1211
这题就是 要你找出一个ASCII 的值x使得 : x^e%n==num(当前输入的数,e条件已给出)zsd:1: ASCII0-255可以枚举2: =a^11 11=1011int pow2( int a, int b ){ int r = 1, base = a; while( b...
分类:其他好文   时间:2014-05-01 16:22:43    阅读次数:326
liferay 集成ldap
1、下载并安装(Active direcotry 下面统一为AD) https://directory.apache.org/studio/download/download-windows.html http://directory.apache.org/apacheds/download/do....
分类:其他好文   时间:2014-05-01 15:57:37    阅读次数:506
How do I get an image from an UIButton? 如何获取uibutton设置的uiimage
UIImage*img =[button imageForState:UIControlStateNormal];
分类:其他好文   时间:2014-05-01 15:37:41    阅读次数:351
C#常见算法题目
//冒泡排序publicclassbubblesorter{publicvoidsort(int[]list){inti,j,temp;booldone=false;j=1;while((jlist[i+1]){done=false;temp=list[i];list[i]=list[i+1];li...
分类:其他好文   时间:2014-04-29 17:21:45    阅读次数:429
Andy Williams 《Love Story》
where do i beginto tell a story of how great a love can bethe sweet love story that is older than the seathe simple truth about the love she brings to...
分类:其他好文   时间:2014-04-29 17:18:46    阅读次数:342
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!