Friday November 15, 2013
One of the things we discuss in class today was the ignore. That is a member of the istream class and it can be utilize to read and eliminated all characters. But it takes two arguments: The first oe is the maximum number of characters to discard and the second is the character that stops reading and discarding. Also I learn that comparison operators also can work with string objects = = and returns true if two string objects contain the same characters in the same order. We can also transforms strings in c++ to c-trings.
No hay comentarios:
Publicar un comentario