P
Prakhar
Hello,
I know the subject line gives a little idea about the problem.
Well, I want to get the input ,and after taking the input, I AGAIN
want to get the same input.
For Eg.,
Suppose input is 23:
../a.out 23
Now, I want to get 23, then store it in a variable and then again want
to get the same input, i.e., 23.
string strInput;
cin>> strInput;
int intInput;
cin>> intInput;
Both of them should be 23, ie, I should be able to get the input even
if I have already taken this input.
Thanks.-Prakhar
I know the subject line gives a little idea about the problem.
Well, I want to get the input ,and after taking the input, I AGAIN
want to get the same input.
For Eg.,
Suppose input is 23:
../a.out 23
Now, I want to get 23, then store it in a variable and then again want
to get the same input, i.e., 23.
string strInput;
cin>> strInput;
int intInput;
cin>> intInput;
Both of them should be 23, ie, I should be able to get the input even
if I have already taken this input.
Thanks.-Prakhar