May 2012
Intermediate to advanced
679 pages
16h 56m
English
In some of the previous chapters, we have mainly used format-free output. The object cout and insertion operator (<<) have to be used. Chaining creates problems. The two outputs are touching each other. This is resolved by adding blank strings like (“ “) or some strings like “value of k is” in between. We can output all basic data types. We cannot output arrays or structures using insertion operator. We have to write array elements or components of a structure or attributes of an object individually.
Read now
Unlock full access