|
From: Noorez K. <lor...@ho...> - 2006-12-11 04:13:33
|
cout << "key: "; char in; for(int i =3D 0; i < security; =
i++) { cin.get(in); if(in =3D=3D '\n') =
break; else key[i] =3D in; }
=20
The cin.get statment here appears to be skipped in this peice of code. That=
is, the program does not pause to allow for user input. Can someone tell m=
e why?
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=3D5d21c51a-b161-4314-9b0e-=
4911fb2b2e6d=
|