When a function is finished, closed bracket}, where does the programming go?
My programming seems to fall through, that is the next function after the current function is complete seems to be running. Are incorrect brackets causing my problem?
For example:
void loop() ;
{
do my first thing;
if test 1 true, go to void thing2
if test 2 true, go to void thing3
}
Where am I at this point? Am I back in the loop or do I fall through thing3 to what is after it in the program.
Please straighten me out a little. I am new to C++.
Thanks
Bill