【 声明:版权所有,转载请标明出处,请勿用于商业用途。 联系信箱:libin493073668@sina.com】
8.1 IO类
1.
istream(输入流)类型,提供输入操作
ostream(输出流)类型,提供输出操作
cin,一个istream对象,从标准输入读取数据
cout,一个ostream对象,向标准输出写入数据
cerr,一个ostream对象,通...
分类:
编程语言 时间:
2015-09-23 10:37:07
阅读次数:
236
(这是C++系列随笔的第二篇,这一系列是我练习C++而查的资料)C++ Primer 5th. Ed. pp. 425----------------------Using a Comparison for the Key TypeThe type of the operation that a c...
分类:
其他好文 时间:
2015-09-23 01:06:59
阅读次数:
209
execute the following commands by using system account login oracle: >sqlplus system/111111@localhost:1522/xe;SQL*Plus: Release 12.1.0.1.0 Production....
分类:
数据库 时间:
2015-09-22 21:50:57
阅读次数:
160
源码:var c=0;function print(){ console.log(c)}function plus(){ setTimeout(function(){ c +=1 }, 1000)}plus()print()打印结果:0修改后:var c=0;function print(){ c....
分类:
Web程序 时间:
2015-09-22 18:25:05
阅读次数:
158
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 a...
分类:
其他好文 时间:
2015-09-22 10:11:38
阅读次数:
130
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-09-22 06:38:14
阅读次数:
144
#ifndef SALESITEM_H#define SALESITEM_H#include #include class Sales_item{public: Sales_item(const std::string &book):isbn(book),units_sold(0),revenue(...
分类:
编程语言 时间:
2015-09-21 19:14:51
阅读次数:
187
3.1SQL*Plus与数据库的交互主要用来数据库查询和数据处理的工具。3.2SQL*Plus运行环境设置3.2.1SET命令概述用户可以使用SET命令设置SQL*Plus的运行环境,SET命令的语法格式:SETsystem_variablevalueSystem_variable:变量名Value...
分类:
数据库 时间:
2015-09-21 12:17:40
阅读次数:
176
[oracle@db12c~]$mkdirutl_file_dir[oracle@db12c~]$sqlplus/assysdbaSQL*Plus:Release12.1.0.2.0ProductiononSunSep2015:55:202015Copyright(c)1982,2014,Oracle.Allrightsreserved.Connectedto:OracleDatabase12cEnterpriseEditionRelease12.1.0.2.0-64bitProductionWiththeP..
分类:
其他好文 时间:
2015-09-21 01:48:38
阅读次数:
194
再次重温下C++ Primer 第一章、开始 1、GNU编译器使用g++ $ g++ -o prog1 prog1.cc 2、 while(std::cin >> value) 使用一个istream作为条件时,如果遇到Eof,或无效输入(不匹配类型)则判断为假,跳出 第二章:变量和基本类型 一、基...
分类:
编程语言 时间:
2015-09-20 22:19:18
阅读次数:
164