https://leetcode.com/problems/plus-one/Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored suc...
分类:
其他好文 时间:
2015-03-10 21:17:35
阅读次数:
142
错误分析:[oracle@rusky pfile]$ sqlplus sys/rusky@orcl2 as sysdba;SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 10 01:51:24 2015Copyright (c) 1982, ...
分类:
其他好文 时间:
2015-03-10 18:49:49
阅读次数:
174
最近在项目中升级了第三方库,导致本应用gen_server中A进程中:handle_info({add,X},Sum) -> {noreply,Sum+X};结果这么简单的一个工作居然不工作了,一查,发现是第三方库进程B发来的消息由{add,X}------->{plus,X}在A进程中存...
分类:
系统相关 时间:
2015-03-09 20:47:17
阅读次数:
221
最近,经常碰到使用sqlplus在后台运行sql脚本的情况,于是乎就遭遇了 Error 45 initializing SQL*Plus错误. 我总结了一些解决方法,希望对大家有帮助。...
分类:
数据库 时间:
2015-03-09 19:06:53
阅读次数:
258
1、以oracle用户登录RAC数据库节点1:
oracle@node74:~> export ORACLE_SID=+ASM1
oracle@node74:~> sqlplus sys/xxxxx as sysdba
SQL*Plus: Release 11.1.0.7.0 - Productionon Mon Feb 18 14:34:20 2013
Copyright (c) ...
分类:
其他好文 时间:
2015-03-09 12:56:58
阅读次数:
174
这两天在重新学习c把《C Primer plus》的代码重新敲一遍进行学习,但是有个程序一直没有整过去,能够变异无法运行,在变量常量里改来改去,一直找不到原因,最后发现原因是:/*rows2.c--使内部循环依赖于外部循环的嵌套循环*/#include//int mian(void)--------...
分类:
其他好文 时间:
2015-03-09 10:51:15
阅读次数:
133
我的机子用Xcode,单位是字节0开头为8进制0x为16进制cout默认输出的是10进制wchar_t 宽字节,它是一种足够大的整形类型,可以用来表示的是比如中文的编码c常量一旦被定义,就不能被修改(const)浮点数,c++中浮点数在计算内存中由两部分组成,一部分为基数,一部分用来表示浮点,这个浮...
分类:
编程语言 时间:
2015-03-08 22:48:35
阅读次数:
263
Plus One问题:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant ...
分类:
其他好文 时间:
2015-03-08 21:22:25
阅读次数:
123
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2015-03-07 16:58:09
阅读次数:
131
1. 过程性编程和面向对象编程2. 抽象和类1. 使用类对象的程序都可以直接访问公有部分,但只能通过公有成员函数(或友元函数)来访问对象的私有成员2. 可以在类声明之外定义成员函数,并使其成为内联函数3. 类的构造函数和析构函数1. 接受一个参数的构造函数允许使用赋值语法将对象初始化为一个值4. t...
分类:
编程语言 时间:
2015-03-06 15:44:22
阅读次数:
146