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
what is the difference between these statement
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="Ben Bacarisse, post: 5022176"] I don't know, and you seem unsure. (BTW, isspace was just an example -- the code could have used isalnum, isprint, isdigit... whatever). Why give the reader this conundrum when the simpler code is more obviously correct? If you already have a value of the right type for a function, a cast will, at the very least, puzzle some readers. If you reserve the use of isXXXX((unsigned char)c) to those cases where you don't have an int or and unsigned char, at least the puzzlement (if there is any) will be productive. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
what is the difference between these statement
Top