L15structs

L15structs - what is stream? what is the difference between...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: what is stream? what is the difference between input stream and output stream? what streams do not need definitions how a stream can be defined? what do the following functions do? open() close() c_str() eof() fail() exit() precision() width() can a stream be passed as a parameter? Questions about File I/O which header file needs to be included for string manipulation? hows a string assigned a value? Can a string be initialized at declaration? whats the difference in string input between getline and extraction operator what does this line do? string s1=hi + + there; how are strings compared how can the size of a string be determined? Can string size be changed? What is the size of this string: string s2=hello; assuming string s3=C++ is easy; what do the following functions return s3.substr(4,2); s3.find(+); s3.rfind(+); s3.find_first_of(is); s3.find_last_of(is); Strings Revisited Structures...
View Full Document

Page1 / 9

L15structs - what is stream? what is the difference between...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online