User profile: jlb

User info
User name:jlb
History
Joined:
Number of posts:582
Latest posts:

"Opposite" of cin.fail()?
Yes. There are several ways to test C++ streams. [code] if(!cin.fail()) .., if(cin.good()) ... ...

Some problems
Please show an example of the file name. Also be aware that with both of your programs the file mu...

Extract Character from file
If the line contains more than the buffer can hold you'll also need to clear() the stream error befo...

ios::app and ios::_Nocreate not going alone ?
Then I recommend that you use the default open mode. The other option is to use the ape mode, as lon...

pointers in c++
For the last question: "Two pointers are NULL if:", the answer is 1. They are both NULL. A pointe...