home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 764.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  764KB  |  2550x3300
Labels: book | crt screen | reckoner | sky
OCR: 764 Chapter Discovering C++ The type size type is an unsigned integer type that can represent the length of any vector object. The function ze will change the size of the invoking object to n. It also fills any empty space in the resized invoking object with items equal to its second parameter. The default value for the second parameter an object instantiated by invok- ing the default constructor for the type T the template argument. In this case, the invocation of res: ze by v2 causes the size to be increased after the invocation v2 will contain three integers with value Note 6 The function empty) is also a member of the class template vector. It returns true if the invoking vector int> object contains no elements and Fal .se if the object contains elements Note 7. The function pop back i ...