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 the head of the list.
思路:原有数组需要多出一位的唯一条件是数组所...
分类:
其他好文 时间:
2014-06-15 18:42:43
阅读次数:
162
第15章 友元、异常和其他
1.友元不仅有友元函数,还能是友元类
还可以将类中的某一个成员函数指定为另一个类的友元
尽管友元被授予从外部访问私有部门的权限,单并不与面向对象编程思想相愽,相反,它们提高了公有接口的灵活性
2.类的成员函数作为其他类的友元,涉及到类的声明顺序。
还有一个函数作为两个类的友元
这方面内容看P607-611
3.嵌套类:在另一个类中声明的类被称为嵌套类
类...
分类:
编程语言 时间:
2014-06-14 17:58:31
阅读次数:
246
1.使用SQL*PLUS停止数据库[oracle@OracleTest oracle]$
sqlplus logSQL> connect / as sysdbaSQL> shutdown [immediate]SQL>
exit2.停止Listener[oracle@OracleTest oracl...
分类:
数据库 时间:
2014-06-13 20:17:21
阅读次数:
400
1、类SQL PLUS窗口:File->New->Command
Window,这个类似于oracle的客户端工具sql
plus,但比它好用多了。2、设置关键字自动大写:Tools->Preferences->Editor,将Keyword
case选择Uppercase。这样在窗口中输入sql语...
分类:
数据库 时间:
2014-06-12 16:45:38
阅读次数:
359
每次打开Office
2013都提示配置进度(包括Word、PPT、Excel等等Office产品都有这种现象),如图,先是显示“安装程序正在准备必要的文件”,接着显示“正在配置MicrosoftOfficeProfessional
Plus 2013"的情况。如果重启完了再打开,还是提示配置进度,...
分类:
其他好文 时间:
2014-06-10 20:17:12
阅读次数:
263
如下图示,将net
GPR_0的鼠线隐藏。鼠标右键,选择网络----选择你要隐藏的网络------右键选择view nets----点击对话框右边View
List里你所选的网络-----在右下角traces plus the....和None两个打勾,点Apply,就ok了。
分类:
其他好文 时间:
2014-06-10 13:24:50
阅读次数:
585
参考文献:ORA-01033:解决方法数据库掉电后 ORA-01172
磁盘坏块解决方法--尝试连接数据库prjdbC:\Documents and Settings\Administrator>sqlplus
test/test@prjdbSQL*Plus: Release 11.2.0.1.0 ...
分类:
数据库 时间:
2014-06-10 13:22:47
阅读次数:
393
题目
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 the head of the list.
方法
...
分类:
其他好文 时间:
2014-06-10 06:12:06
阅读次数:
285
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...
分类:
其他好文 时间:
2014-06-07 16:56:28
阅读次数:
188