User: purpleblue

  • Public profile

User profile: purpleblue

User info
User name:purpleblue
History
Joined:
Number of posts:4
Latest posts:

Read content of stringstream
Hi, supposed I just read a string into stringstream. Then I want to check if this string that jus...

cin.peek problem
Hi, say I am using stringstream to get three inputs in a line, and I want to check if the first t...

If statement problem
hi, my code skeleton is like this: if ( cin.fail() ) {............} else { bool input_is_go...

Question about if statement
Hi, I wrote the following code int a; cin >> a; if(a== 2) { // btw do I need to single quote '2' ...

This user does not accept Private Messages