View Single Post
  #4 (permalink)  
Old 12-11-2007, 08:11 PM
ShoeNinja's Avatar
ShoeNinja ShoeNinja is offline
Senior Member
 
Join Date: Oct 2007
Posts: 123
ShoeNinja is on a distinguished road
Send a message via AIM to ShoeNinja
Code:
for(int i=a;i<10 && j != 10;i++)
It seems like the above code will compile but I'm not sure if it will accomplish what you want. I've never thought about putting a complex condition there.

If all else fails, what you had in the first place is completely valid.
Reply With Quote