码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
在IOS 模拟器种输入中文
模拟器默认的配置种没有“小地球”,只能输入英文。加入中文方法如下: 选择Settings--->General-->Keyboard-->International KeyBoards-->Add New Keyboard-->Chinese Simplified(PinYin) 即我们一般用的简体中文拼音输入法,配置好后,再输入文字时,点击弹出键盘上的“小地球”就可以输入中文了。...
分类:移动开发   时间:2014-06-30 19:53:57    阅读次数:234
PL/SQL简介
(Procedure Language,过程化语言)SQL 1999各大数据库厂商通用的一种结构化语言 PL/SQL只支持Oracle数据库 基本语法 多行注释 /* */ 单行注释 -- PLSQL程序块 结构 [declare] 定义变量 begin 过程语句 [exception] 处理 异常 end; 例子 输出helloworld begin dbms_output.put_line('hello'); end; --如果...
分类:数据库   时间:2014-06-30 18:55:36    阅读次数:337
Lua 与C交互 第二篇
使用静态链接的方式 #include #include #include #ifdef __cplusplus extern "C" { #endif #include "lua/include/lua.h" #include "lua/include/lauxlib.h" #include "lua/include/lualib.h" #pragma comment (li...
分类:其他好文   时间:2014-06-30 18:28:47    阅读次数:216
Codeforces 19D Points 线段树+set
题目链接:点击打开链接 线段树维护y值大于val的最小x值 #include #include #include #include #include #include #include #include using namespace std; #define inf 1000000010 #define ll int #define N 200005 #define L(x)...
分类:其他好文   时间:2014-06-30 18:14:29    阅读次数:185
数据库升级ora-04063 DBMS_REGISTRY has error
在做Oracle数据库从11.2.0.1.0升级到11.2.0.2.8时,软件升级没有问题,实例升级没有问题,升级psu的时候。 运行@?/rdbms/admin/catbundle psu apply时,只显示一部分信息,即终止apply。 在dba_registry_history中未显示11.2.0.2.8的psu信息; select * from dba_re...
分类:数据库   时间:2014-06-30 17:46:48    阅读次数:428
zclip 复制内容到剪切板
直接上代码 ZeroClipboard Test .line { margin-bottom: 20px; } /* 复制提示 */ .copy-tips { position: fixed; z-index: 9999; bottom: 50%; left: 50%; margin: 0 0 -20px -80px; background-color: rgba(0,...
分类:其他好文   时间:2014-06-30 17:42:43    阅读次数:318
Candy
题目 There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have...
分类:其他好文   时间:2014-06-30 17:18:04    阅读次数:177
cmd命令netsh基础教程
1、网络设置的备份与恢复 备份操作: netsh dump >bak12.txt 恢复操作: nesh exec bak12.txt 2、用命令改IP,如下: C:/>netsh (进入设置模式)  netsh>interface  interface>ip  interface ip>set address "本地连接" static 10.1.1.111 255.255....
分类:Web程序   时间:2014-06-30 16:31:56    阅读次数:297
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. 方法 每次选择一个点,和其他n - 1个点,进行判断,统计最多的。 double computeSlope(Point a, Point b) { ...
分类:其他好文   时间:2014-06-30 15:48:45    阅读次数:184
Silverlight形状、画笔、变换、图像处理、几何图形
1.形状(Ellipse、Line、Path、Polygon、Polyline 和 Rectangle) 1 8 9 23 24 33 34 37 41 42 43 ...
分类:Web程序   时间:2014-06-30 15:18:01    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!