码迷,mamicode.com
首页 >  
搜索关键字:while break continue    ( 40024个结果
Fragment
项目需要,学习下Fragment,怎么学习,毫不犹豫的选择看官方文档,文档内容如下,感觉重要的的内容标记为红色:Creating a FragmentFigure 2.The lifecycle of a fragment (while its activity is running).To cre...
分类:其他好文   时间:2014-06-27 19:10:33    阅读次数:306
C程序设计笔记
?C程序设计笔记第一课单词:main 主函数 else 否则int 整数型 for 循环float 浮点型 while 当...的时候char 字符型 swichprintf 输出函数 case 案例scanf 输入函数 default 默认 if 如果 ...
分类:其他好文   时间:2014-06-27 16:38:12    阅读次数:263
Linux下实现秒级定时任务的两种方案
Linux下实现秒级定时任务的两种方案(Crontab 每秒运行):第一种方案,当然是写一个后台运行的脚本一直循环,然后每次循环sleep一段时间。while true ;docommandsleep XX //间隔秒数done第二种方案,使用crontab。我们都知道crontab的粒度最小是到分...
分类:系统相关   时间:2014-06-27 16:27:29    阅读次数:339
[转]安装SharePoint 2013时安装AppFabric失败(错误码:1603)
转自:http://blogs.technet.com/b/praveenh/archive/2013/02/22/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appf...
分类:移动开发   时间:2014-06-27 16:01:36    阅读次数:425
Sql Servicer 复习笔记(1) 存储过程分布
第一步:创建表 1 declare @countInt int 2 declare @age int 3 set @age =20 4 set @countInt=1 5 while(@countInt=50)14 begin15 set @age=25;16 end17 18 end19 ...
分类:数据库   时间:2014-06-27 14:23:47    阅读次数:434
炜煌E30 E31微型热敏打印机 STM32 串口驱动
设置为汉字模式 十六进制 命令:1C    26 USART_SendData(USART2,0x1C); while(USART_GetFlagStatus(USART2,USART_FLAG_TC)==RESET); USART_SendData(USART2,0x26); while(USART_GetFlagStatus(USART2,USART_FLAG_TC)==RESET)...
分类:其他好文   时间:2014-06-27 10:19:56    阅读次数:301
POJ 2892 Tunnel Warfare (树状数组+二分)
题目大意: 三个操作 D pos  将pos位置摧毁,让它和周围不相连。 Q pos 问和pos 相连的有多少个村庄。 R 修复最近摧毁的村庄。 思路分析: 树状数组记录这个区间有多少个1。 如果  [s-e] 有e-s+1个1 的话。那么这个区间是相连的。 这样的话,我们就可以用二分的办法求出与某个位置最大相连的数量。 还有这里二分 while(l { i...
分类:其他好文   时间:2014-06-27 09:54:14    阅读次数:183
LeetCode || Word Break II
Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word. Return all such possible sentences. For example, given s = "...
分类:其他好文   时间:2014-06-27 09:23:00    阅读次数:220
lxc-config: error while loading shared libraries liblxc.so.1
转载请注明出处:http://www.openext.org/2014/06/lxc-erro1#tar zxvf lxc-xxx.tar#./autogen#./configure –prefix=/usr/local/lxc#make#make install#lxc-lsthe error:#echo “/usr/local/lxc/lib” >> /etc/ld.so.conf#ldcon...
分类:其他好文   时间:2014-06-27 08:36:38    阅读次数:156
条件判断式if和循环语句while及其函数的应用
条件判断式if..then、case..esacif..then是最常见的条件判断式,就是当负某个条件判断的时候,就进行某项工作,其中"&&"代表AND,"||"代表orif....then..else...fi格式:if[条件判断语句];then当条件判断成立时,可以进行的命令工作内容; fi//结束if条件判断例子:设..
分类:其他好文   时间:2014-06-27 06:15:08    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!