Hey everyone,
I'm currently reading a book on program design, and the author mentions (keep in mind this is all in pseudocode, nothing about C++ at all) a loop called REPEAT...UNTIL which executes the body prior to testing the condition, exactly like the do...while, the thing is though, the author says that the repeat until loop iterates as long as the condition is false, once it becomes true it ends. I thought this sounded a little ridiculous and decided to come on the forums to see if anybody knew if there was anything like this in C++ or C or something like that. As far as I know the only way to do this would be !(condition)...I was just wondering what the author was talking about in terms of specific loop syntax.
On a slightly related note, does anyone know of any good program design books? Something more procedural because that's where my weakness is...otherwise thanks for hearing me out. -Chap