notes for 94--110

本文详细介绍了C++编程中使用cout进行多行输出的方法,包括如何在标准C系统中输出信息,以及getline函数用于读取单行文本。文章还阐述了数组的基本特性,即元素大小一致且连续排列,并可通过索引访问。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、Using cout, the statements can continue over multiple lines,and that the entire statement terminates with a semicolon.

2、Using the Standard C system() function,which is delcared in the header file <cstdlib> can also output something.

3、Getline() allows you to read one line(terminated by a newline) into a string object. It has two arguments, one for reading from and the other is the string object. 100

4、The distinguishing characteristic of an array is that  array's elements are the same size and are arranged to be one right after the other.The elements can be selected by "indexing".

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值