设为首页 加入收藏

TOP

DEFINED TERMS (2)
2013-10-07 16:14:26 来源: 作者: 【 】 浏览:82
Tags:DEFINED TERMS

end-of-file System-specific marker that indicates that there is no more input in a file.
expression The smallest unit of computation. An expression consists of one or more operands and usually one or more operators. Expressions are eva luated to produce a result. For example, assuming i and j are ints, then i + j is an expression and yields the sum of the two int values.

for statement Iteration statement that provides iterative execution. Often used to repeat a calculation a fixed number of times.

function Named unit of computation.

function body Block that defines the actions performed by a function.

function name Name by which a function is known and can be called.

header Mechanism whereby the definitions of a class or other names are made

available to multiple programs. A program uses a header through a #include directive.

if statement Conditional execution based on the value of a specified condition. If the condition is true, the if body is executed. If not, the else body is executed if there is one.

initialize Give an object a value at the same time that it is created.

iostream Header that provides the library types for stream-oriented input and output.

istream Library type providing streamoriented input.

library type Type, such as istream, defined by the standard library.

main Function called by the operating system to execute a C++(www.cppentry.com) program. Each program must have one and only one function named main.

manipulator Object, such as std::endl, that when read or written “manipulates” the stream itself.

member function Operation defined by a class. Member functions ordinarily are called to operate on a specific object.

method Synonym for member function.

namespace Mechanism for putting names defined by a library into a single place. Namespaces help avoid inadvertent name clashes. The names defined by the C++(www.cppentry.com) library are in the namespace std.

ostream Library type providing streamoriented output.

parameter list Part of the definition of a function. Possibly empty list that specifies what arguments can be used to call the function.

return type Type of the value returned by a function.

source file Termused to describe a file that contains a C++(www.cppentry.com) program.

standard error Output stream used for error reporting. Ordinarily, the standard output and the standard error are tied to the window in which the program is executed.

standard input Input stream usually associated with the window in which the program executes.

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇CHAPTER SUMMARY 下一篇DEFINED TERMS (4)

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·数据库:推荐几款 Re (2025-12-25 12:17:11)
·如何最简单、通俗地 (2025-12-25 12:17:09)
·什么是Redis?为什么 (2025-12-25 12:17:06)
·对于一个想入坑Linux (2025-12-25 11:49:07)
·Linux 怎么读? (2025-12-25 11:49:04)