so i wanted to make a login and register system using data structure with vector of objects. now i overcome a problem which is looping and it confuses me on my output and stuff.
The problem is that you don't break out of your while loop, after the login.
The break statement ends only the for loop - also it should be inside the if statement.
The problem is that you don't break out of your while loop, after the login.
The break statement ends only the for loop - also it should be inside the if statement.