Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Why "gets" has not been deprecated yet?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mike Wahler, post: 2529942"] Who's to say that an input stream with a 'guaranteed' limit of 'record size', did not get corrupted by some outside influence, rendering the 'guarantee' spurious? I've actually had to deal with this issue in the real world (receiving data over an RS232 line, subject to ocassional 'noise'). My program was not able to make *any* assumptions about the expected data stream. 'Knowing what I was doing', I knew that such 'guarantee' was impossible to implement. 'Knowing what I was doing' meant that it was my program's responsibility to deal with 'dirty' data in a safe manner (e.g. discarding it, or perhaps re-acquiring it). -Mike [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Why "gets" has not been deprecated yet?
Top