DevPinoy.org
A Filipino Developers Community
All Tags » techie » C (RSS)
   

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Assignment in a WHILE condition

    Before, I used to think that in C, the assignment operator always evaluate to true. It is because of this context: [code language="C#"] while (intLeft == intRight) { //do whatever } [/code] If you mistyped the comparison operator (==) as a single equal sign (=) for assignment (of course it will compile...
    Posted to jokiz by jokiz on 01-17-2005
    Filed under: Filed under: , , ,
Page 1 of 1 (1 items)
Copyright DevPinoy 2005-2008