码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
PL/SQL 基础知识
pl/sql中的四种循环 loop? exit?when?c_page?>10; c_page?:=?c_page+1; dbms_output.put_line(‘c_page?:?‘?||?c_page); end?loop; while?c_page<20?loop c_page?:=?c_page+1; dbms_output.put_l...
分类:数据库   时间:2014-08-13 19:33:57    阅读次数:238
ios view的创建过程
一个view运行次序, Application windows are expected to have a root view controller at the end of application launch的错误...
分类:移动开发   时间:2014-08-13 19:03:57    阅读次数:272
Lua 常用数据结构
Lua中的table不是一种简单的数据结构,它可以作为其它数据结构的基础。如数组、记录、线性表、队列和集合等,在Lua中都可以通过table来表示。 一、数组    在lua中通过整数下标访问表中的元素即可简单的实现数组。并且数组不必事先指定大小,大小可以随需要动态的增长。a = {} for i = 1,100 do a[i] = 0 end print("The length of arra...
分类:其他好文   时间:2014-08-13 18:48:17    阅读次数:216
UVA - 12338 Anti-Rhyme Pairs (哈希)
Description D Anti-Rhyme Pairs Input: Standard Input Output: Standard Output   Often two words that rhyme also end in the same sequence of characters. We use...
分类:其他好文   时间:2014-08-13 18:45:37    阅读次数:230
string 与char* char[]之间的转换(转)
1、首先必须了解,string可以被看成是以字符为元素的一种容器。字符构成序列(字符串)。有时候在字符序列中进行遍历,标准的string类提供了STL容器接口。具有一些成员函数比如begin()、end(),迭代器可以根据他们进行定位。注意,与char*不同的是,string不一定以NULL('\0...
分类:其他好文   时间:2014-08-13 14:53:46    阅读次数:223
MessageDlg,MessageBox
if MessageDlg('Welcome to my Delphi application. Exit now?', mtConfirmation, [mbYes, mbNo], 0) = mrYes thenbeginClose; end;MessageDlg用法对话框类型:mtwarning...
分类:其他好文   时间:2014-08-13 14:36:36    阅读次数:221
利用标准库算法求解排列组合
以前求序列的排列时,最常用的方法就是递归回溯,现在发现其实像这样有特定算法的重复性工作是可以在STL标准库中找到答案的。 在STL的变序性算法中,有两个用于排列元素的算法分别如下: bool next_permutation(Iterator beg,Iterator end) bool prev_permutation(Iterator beg,Iterator end) 这...
分类:其他好文   时间:2014-08-13 13:07:06    阅读次数:261
LUA 运算笔记
for循环 比如要实现这样的一个For for(int i=10;i>1;i—) { print(i) } 转换成LUA for i=10,1,-1 do print(i) end 在循环里我们常用的 –i ,i++在LUA里不支持,只能写成 i= i-1 ;i=i+1 发现一个有意思的是也可以使用...
分类:其他好文   时间:2014-08-13 12:38:07    阅读次数:183
纯代码实现实现各种效果的圆角按钮。
#import @interface APRoundedButton : UIButton@property (nonatomic, assign) int style;@end//// Created by Alberto Pasca on 27/02/14.// Copyright (c) .....
分类:其他好文   时间:2014-08-13 12:32:26    阅读次数:212
检测键盘按键(三)——keypress和keydown、keyup
keypress:在IE和chrome中主要用来捕获数字(注意:包括Shift+数字的符号)、字母(注意:包括大小写)、小键盘等除了F1-12、SHIFT、Alt、Ctrl、Insert、Home、PgUp、Delete、End、PgDn、ScrollLock、Pause、NumLock、{菜单键}...
分类:其他好文   时间:2014-08-13 03:32:35    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!