- 博客(4)
- 收藏
- 关注
原创 下一个语句
这个程序开始执行在main()顶部,和第一行被执行打印起始main()。在主要的第二行是一个函数调用doprint。在这一点上,main()语句执行暂停,和CPU跳doprint()。第一个(也是唯一的)在doprint打印在doprint()线。当doprint()终止,调用者(main())继续执行它离开的地方。因此,在主要的打印结束main()执行下一个语句。Functions can
2014-08-01 15:10:17
159
原创 一个表达式
一个函数是一个序列的设计做一个特定工作表。你已经知道,每个程序都必须有一个功能叫做main()。然而,大多数程序有许多功能,和他们所有的工作类似于主。Often, your program needs to interrupt what it is doing to temporarily do something else. You do this in real life all the
2014-08-01 14:58:52
180
原创 两种类型的注释
类型的评论A comment is a line (or multiple lines) of text that are inserted into the source code to explain what the code is doing. In C++ there are two kinds of comments.注释是一个线(或多线)的文本,插入到源代码解释代码是做什么的
2014-08-01 14:56:18
551
原创 最常见的类型
计算机程序是一系列指令,告诉计算机做什么。Statements and expressions语句和表达式The most common type of instruction in a program is the statement. A statement in C++ is the smallest independent unit in the language. In hu
2014-08-01 14:49:39
311
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人