The first argument to string::getline is an istream object, in this case we are using cin for the object. Any istream object would suffice. Obviously the second argument is the string.
The first argument to string::getline is an istream object, in this case we are using cin for the object. Any istream object would suffice. Obviously the second argument is the string.
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem