Void

May 21, 2019 at 4:45pm
Is it possible to do void from a lot of nested if complicated c++ program?
May 21, 2019 at 5:00pm
Ashh wrote:
Is it possible to do void from a lot of nested if complicated c++ program?


How complicated would you like me to make it? I'm sure I could oblige!
May 21, 2019 at 5:18pm
What do you mean by "do void". Do you mean to call void functions? Or something else?
There are no restrictions on calling void functions from complicated nested if statements.
May 21, 2019 at 6:12pm
Just ifs or loops (for, while, do-while…)?
Can’t you make it by break?
http://www.cplusplus.com/doc/tutorial/control/

May 21, 2019 at 8:04pm
lastchance wrote:
How complicated would you like me to make it? I'm sure I could oblige!

The OP has taken up the gauntlet…
http://www.cplusplus.com/forum/beginner/254020/
:-)
Topic archived. No new replies allowed.