Hi everyboy,
I have a question how to add not boolean expression to the conditional loop,
Imagine some situation where I have :
while(some expression && another expression) { .... }
So lets say I want to calculate how many times "another expression" was evaluated. I wish I would stick something like count++ before it but it doesn't work this way.
I can't put count++ at the begining of while loop because it wouldn't be incremented if "another expression" is false.
If you have any idea please help me =)