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 Programming
why is casting malloc a bad thing?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Dan Pop, post: 1698544"] You may still inadvertently fall upon them, if you're not extremely careful. E.g. puts("Huh??!"); This is more of an issue when automatically encoding binary data in string literals (e.g. using a base64-style algorithm) that are supposed to be used by C programs. You *must* check that you're not inadvertently inserting a trigraph sequence in that string literal. See, their semantics are haunting even the trigraph haters... Dan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
why is casting malloc a bad thing?
Top