Is there a way to check whether an input has been received in c?
for example say If I need to input a variable with scanf, then trigger a string to be printed with printf, then input another variable, then run the program. e.g:
Enter username: (printf)
gorgeous george (If input recieved...)
Enter password: (...then print this)
george123 (scanf again)
is there any function to do this? cheers