because operator >> sees anything other than whitespace as an input and if its not the expected type of input sets the failbit. A comma and a lower case t are both not whitespace so they will not be disregarded.
because operator >> sees anything other than whitespace as an input and if its not the expected type of input sets the failbit. A comma and a lower case t are both not whitespace so they will not be disregarded.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi