can someone explain why this loop calls the function in it?
when i called the function in the loop it called it twice.
i had the understanding that a loop laid out like != would just check a condition.
here is the code

Code:
do{menu();}
     while(selection(files) != true);
selection is declared bool.
tried to find a good explanation but couldn't.could someone go into detail about this?