Hello everyone, I was busy due to my college .
but now I return to c++ and to my old problem with streams and files chapter
this chapter is almost done but there still two mysteries topics
the first :Memory as a Stream Object
and this is it,s program
A stream has interface; how it is used. The formatted input and output operators are part of the interface. You can perform same operations on every stream.
When you do read from a stream, the data does not come from void; the data exists somehere. A file stream reads from file, a stringstream reads from a string.
When a program is run, it might be given arguments. If you do run from command line, you type those arguments (command line options), but a GUI, like Windows Explorer may supply arguments too.
The command line is a list of words. There are argc words. The argv is the array of words. Each word is a C-string; an array of char that has null as last character.