taking input directly to an ADT such as a stack.
Perhaps operator>> should be modified to do something closer to what it does for standard types (e.g., std::string). It probably should skip over whitespace. Not that overloading an operator to do this was a good idea to begin with or anything...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement