Input, Output, Assignment, Conversion
暂无分享,去创建一个
We begin this chapter with assignment, the simplest and also the most important function. To be able to assign to a CLINT object a_1 the value of another CLINT object b_l, we require a function that copies the digits of b_1 to the reserved storage space for a_1, an event that we shall call elementwise assignment. It will not suffice merely to copy the address of the object b_1 into the variable a_l, since then both objects would refer to the same location in memory, namely that of b_l, and any change in a_1 would be reflected in a change in the object b_l, and conversely. Furthermore, access to the area of memory addressed by a_1 could become lost.