Quick syntax question

This is a discussion on Quick syntax question within the C++ Programming forums, part of the General Programming Boards category; I have been having trouble finding the syntax definition for this statement Code: while (unsigned_integer_variable-->0) { ... } Thanks in ...

  1. #1
    Registered User
    Join Date
    May 2009
    Location
    Look in your attic, I am there...
    Posts
    92

    Quick syntax question

    I have been having trouble finding the syntax definition for this statement

    Code:
    while (unsigned_integer_variable-->0)
    {
           ...
    }
    Thanks in advance for any advice

  2. #2
    The larch
    Join Date
    May 2006
    Posts
    3,573
    May-be it helps to add some whitespace:

    Code:
    while (unsigned_integer_variable-- > 0)
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  3. #3
    Registered User
    Join Date
    May 2009
    Location
    Look in your attic, I am there...
    Posts
    92
    XD Thanks, I was wondering why they didnt use a for loop

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  2. using c++ in c code
    By hannibar in forum C Programming
    Replies: 17
    Last Post: 10-28-2005, 10:09 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 11:52 PM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 06:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21