I am having problem with the following code.
char c = (char) input.read();
After the above line is executed .. when i try to take another input...it does not prompt for the input.
that is
char d = ( char) input.read();
I am not finding any prompt for the second input. Is there anything like flush which i used to have in C/C++.
Arnab
char c = (char) input.read();
After the above line is executed .. when i try to take another input...it does not prompt for the input.
that is
char d = ( char) input.read();
I am not finding any prompt for the second input. Is there anything like flush which i used to have in C/C++.
Arnab