All Questions
Tagged with control-structures programming-languages
4 questions
-2
votes
4
answers
247
views
Block structured iteration and recursion
Programming languages traditionally have blocks that specifically cater to controlling iteration.
There is the simple while-loop:
while (i < 3) {...};
Then there is the more complicated for-loop:
...
-1
votes
1
answer
75
views
What kind of of tools/architecture would work well for a student team competing in a robot soccer competition?
The scenario is as follows. There is a PC running a complex piece of AI software wirelessly controlling a number of soccer robots. This software is written and maintained by a team of students that ...
2
votes
2
answers
209
views
Can conditional break in a loop be rewritten for easier understanding?
while cond1
...
if cond2
...
else
...
break
The while loop above has two termination conditions,
cond2 and !cond1
!cond2
When the commands that are represented by ....
12
votes
22
answers
4k
views
Which useful alternative control structures do you know? [closed]
Similar question was closed on SO.
Sometimes when we're programming, we find that some particular control structure would be very useful to us, but is not directly available in our programming ...