码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
ubuntu中开启、关闭防火墙
ubuntu中开启、关闭防火墙...
分类:其他好文   时间:2014-07-08 21:01:42    阅读次数:238
美食APP调查
今天下了些美食的app,发现那是个参差不齐,不推荐安装: 中国美食,菜谱大全,一个是内容少的可怜,另一个是排版太烂,文字太小了。其他的做的还不错,包括: 美食杰: 缺点:基本就是iphone的版本,在ipad上显得不够精致 没有做饭模式,只有科大迅飞的tts 优点:有收藏,评论,上传,sns元素挺多 精美图片 营养信息 购物清单 网上厨房 基本...
分类:移动开发   时间:2014-07-08 20:59:05    阅读次数:286
const vs readonly
1. const 只能修饰基本类型和string, null两种引用类型. readonly可以修饰所有类型.  2. const 申明时不需要static 修饰符, 因为必须要静态访问.  3. const 必须在编译时知道它的值, 而 readonly 可以在运行时初始化.  4....
分类:其他好文   时间:2014-07-08 20:34:58    阅读次数:176
Visual Studio 2013 与 14
Visual Studio 2013 与 14 如果 Install Visual Studio on the same computer as Visual Studio in 2013 "14" when CTP 14.0.21730.1 DP, a number of known issues. While we expect that the Visual Stu...
分类:其他好文   时间:2014-07-08 16:09:04    阅读次数:196
LeetCode——Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin...
分类:其他好文   时间:2014-07-08 14:21:56    阅读次数:190
ZOJ Monthly, October 2010 ABEFI
ZOJ 3406 Another Very Easy Task #include #include const int N = 100005; char s[N]; int main() { bool f = 0; int size = 0; char ch; while(scanf("%c", &ch)!=EOF) { if( !(ch >= 'a' && c...
分类:其他好文   时间:2014-07-08 13:52:14    阅读次数:265
Understanding Safari Reader
Interesting enough to find out the Reader function in Safari is actually Javascript and there are many interesting stuff from the 2000 line code: * 5 main parts in the file: * 1. define const * 2...
分类:其他好文   时间:2014-07-08 13:11:46    阅读次数:469
java提高篇(三十)-----Iterator
迭代对于我们搞Java的来说绝对不陌生。我们常常使用JDK提供的迭代接口进行Java集合的迭代。Iterator iterator = list.iterator(); while(iterator.hasNext()){ String string = iterator.next(); //do something...
分类:编程语言   时间:2014-07-08 12:50:53    阅读次数:290
[虚拟化/云][全栈demo] 为qemu增加一个PCI的watchdog外设(七)
目标:1. 完成最终的设备驱动,增加具体的watchdog设备操作的代码。测试代码:代码最终实现见cwd_demo.c代码只实现了read与write. 没有实现ioctl.因此,我们可以通过shell指令直接操作我们的watchdog.read函数,只读取watchdog的0x01 和0x02寄存...
分类:其他好文   时间:2014-07-08 00:52:03    阅读次数:245
[leetcode] Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
分类:其他好文   时间:2014-07-08 00:41:49    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!