Is the EOF is ~Z ?
thanks
thanks
|
C
~What is EOF ? |
|
Dec 27, 2018 01:48 PM
(This post was last modified: Dec 27, 2018 01:48 PM by 0xDEAD10CC.)
(Dec 27, 2018 03:49 AM)F.A.S.T Wrote: I don't quite understand what your Question is, But EOF means End of File. "// File Does not exist" That's not what the indication of the failbit flags mean here... That may be only one of the causes.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer] (Dec 27, 2018 01:48 PM)0xDEAD10CC Wrote: "// File Does not exist" That's not what the indication of the failbit flags mean here... That may be only one of the causes. Stack Overflow dude.. bad tm dss :D
Dec 27, 2018 02:09 PM
(This post was last modified: Dec 27, 2018 02:21 PM by 0xDEAD10CC.)
The bool operator on that std::basic_ios accessor does not mean "file not found", it just means that the goodbit isn't set, thus it is the same as:
Code if (file.good()) ...The badbit could also simply mean that the file could not be opened; it means an I/O error, which isn't directly a conclusion that the file does not exist. And you do realize that there are people on SO that don't always post correct information? Try to open csrss.exe using your method and see what the result is.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer] (Dec 25, 2018 11:33 PM)RealyWhite Wrote: Is the EOF is ~Z ? End of file |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [Python] by SkunT3lloJun 29, 2021 01:59 PM | 2 | 190 |
Jun 29, 2021 01:59 PM Last Post: SkunT3llo |
| [Python] by TreasuretrioAug 2, 2020 08:01 PM | 2 | 152 |
Aug 2, 2020 08:01 PM Last Post: Treasuretrio |
| [C#] by gigajewMar 13, 2018 06:00 PM | 6 | 426 |
Mar 13, 2018 06:00 PM Last Post: gigajew |