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
Is this acceptable (i.e., compliant) code?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="anonymous, post: 2383100"] [i] The function above prints from LSB..MSB, I wanted to print in the reverse order I tried using for(i = size; i >= 0 ; i--) But goes into an infinite loop because of unsigned int comparison, so I used for(i = size; i != UINT_MAX; i--) This works but is there a better way to do that?[/i] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Is this acceptable (i.e., compliant) code?
Top