例外: 例外是程序设计语言提供的一种功能,用来增强程序的健壮性和容错性. 例外分为:系统例外自定义例外 系统例外分为:No_data_found(没有找到数据)、Too_many_rows(select ... into 语句匹配多个行)、Zero_Divide(被零除)、Value_error(算 ...
分类:
数据库 时间:
2017-02-20 12:26:28
阅读次数:
245
岳阳楼记宋 范仲淹 庆历四年春,滕子京谪守巴陵郡。越明年,政通人和,百废具兴。乃重修岳阳楼,增其旧制,刻唐贤今人诗赋于其上。属予作文以记之。 予观夫巴陵胜状,在洞庭一湖。衔远山,吞长江,浩浩汤汤,横无际涯;朝晖夕阴,气象万千。此则岳阳楼之大观也,前人之述备矣。然则北通巫峡,南极潇湘,迁客骚人,多会于... ...
分类:
其他好文 时间:
2017-02-19 23:35:05
阅读次数:
199
29. Divide Two Integers 29. Divide Two Integers Total Accepted: 91862 Total Submissions: 575867 Difficulty: Medium Contributors: Admin Divide two inte ...
分类:
其他好文 时间:
2017-02-19 16:50:45
阅读次数:
145
N children are sitting in a circle to play a game. The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero i ...
分类:
其他好文 时间:
2017-02-17 17:01:46
阅读次数:
297
超文本<a> <a href="目标网址#锚点" name="页面锚点名称" title="鼠标滑过显示的文本">链接显示的文本</a> <a href="http://www.w3school.com.cn/html/html_links.asp#tips">有用的提示</a> 属性 值 描述 d ...
分类:
Web程序 时间:
2017-02-14 21:51:23
阅读次数:
275
JVM会知道它们是不是引用变量(相对于原始类型int ,long等变量),JVM知道一个变量为原始变量的时候就会根据它们的值-->一个地址值 再去访问具体的内存空间,也就是访问到具体的对像.因为tt=str;就是把str的值-->一个地址值复制给tt,所以在运行 的时候JVM发现tt也是一个引用变量... ...
分类:
编程语言 时间:
2017-02-14 19:15:09
阅读次数:
291
STM8S的时钟配置通过:CLK_CKDIVR寄存器,而CLK_CKDIVR一个是配置HSI分频,另一个是配置CPU的分频 static void CLK_Config(void){ CLK_DeInit(); /* Clock divider to HSI/1 */ CLK_HSIPrescale ...
分类:
其他好文 时间:
2017-02-12 12:15:17
阅读次数:
866
class Solution { public: int divide(int dividend, int divisor) { long long res = 0; long long m = abs((long long)dividend), n = abs((long long)divisor ...
分类:
其他好文 时间:
2017-02-12 01:09:09
阅读次数:
125
When doing comparisons inside of functions, you end of relying heavily on the argument passed into the function. Ramda's converge allows you to do com ...
分类:
其他好文 时间:
2017-02-11 18:13:01
阅读次数:
276
#include<stdio.h>int divide(int a,int b,int *result);int main(){ int a=5,b=2; int c; if(divide(a,b,&c)) { printf("%d",c); } return 0;}int divide(int a ...
分类:
其他好文 时间:
2017-02-10 23:05:32
阅读次数:
156