0
How I can use "cin" in code in view question ?
//some code cin >> p cout << "Password: " << endl; return 0; Its good code or bad ? Who know, please help, I need at answer !
2 Respuestas
+ 4
In my opinion, put the cout line above the cin line. That way, your program will ask you for input and then get it.
0
cout simply means ask
cin means to reply.
you can't reply before ask.
so the best option will be to use cout before cin.