Greetings  Towel

This is what loops are for.  A sample code to increment
a variable "x" by 2:

   int i;
   for (i = 0; i < 2; i++) {
      x++;
   }


Thanks
Chandrasekhar S

Goober Nation

You've got clueless quetions; we've got clueless answers.

Visit http://www.goobernation.net for Palm Developer Support

We're so desperate for hits, we'll answer questions from
every newbie developer in India and China for free, right here on
this mailing list.

>>>"Towel Head" <[EMAIL PROTECTED]> 05/22/01 11:58AM >>>
>Dear All,
>
>You simply must stop what-ever you are doing right now
>and help me out. I am at my wits end.
>
>I am a highly experienced programmer in India earning
>the sum of 5000 Rupees ($93) per month.  Someday, I
>hope to be emigrating to America where I will be earning
>ten times that amount and having the sex with big-breasted,
>white American women.
>
>In the meantime I am writing software for a big multinational
>company so that they won't have to hire expensive American programmers.
>Unfortunately I cannot afford a PDA.. I have to write my software and
>guess whether it will work or not.  I find that it is much cheaper
>to ask gullible Americans for advice than to buy a PDA!
>
>What I am about to be asking is how do I increment a
>variable by 2?  I know that when I want to be incrementing
>it by 1, I just use the "++" operator in C.  But there is no
>"+++" operator, can you help?
>
>Kindest regards,
>
>Towel Head
>[EMAIL PROTECTED]

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to