Basic question - How to wait before asking another input?
Within a function A, I have a printf that asks for a login and another one that asks for a password.
When I call that function from the main function, it works... it waits for me to insert the first and then the second.
The problem occurs when I call the function A from another function B, it goes directly to the second printf without letting me to insert the first one.
Here is part of the code:
Thanks in advance.