notes for 94--110

来源:互联网 发布:俄罗斯方块知乎 编辑:程序博客网 时间:2024/04/29 04:37

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".