msdn查询函数的问题。
装了Visual Studio自带的msdn,查询函数遇到了点问题。
比如说我在msdn中搜索cin的方法,但出来的结果就只是简单介绍了下cin的使用,并没有列出cin下可使用的方法,比如说cin.get,cin.fail这些。 请问应该如何操作? 谢谢。
[解决办法]
See AlsoConcepts<iostream> Membersistreamiostream Programmingiostreams Conventionsbasic_istream Members See Also Send Feedback 链接istream到RemarksThe type is a synonym for template class basic_istream, specialized for elements of type char with default character traits.链接basic_istream到The following tables list the members of the basic_istream Class. For a list of members inherited by the basic_istream class, see basic_ios Members.点最后的basic_istream MembersReferenceConstructorsbasic_istream Constructs an object of type basic_istream. Member Functionsgcount Returns the number of characters read during the last unformatted input. get Reads one or more characters from the input stream. getline Reads a line from the input stream. ignore Causes a number of elements to be skipped from the current read position. peek Returns the next character to be read. putback Puts a specified character into the stream. read Reads a specified number of characters from the stream and stores them in an array. Deprecated. Use basic_istream::_Read_s instead. _Read_s Reads a specified number of characters from the stream and stores them in an array. readsome Read from buffer only. Deprecated. Use basic_istream::_Readsome_s instead. _Readsome_s Read from buffer only. seekg Moves the read position in a stream. sentry The nested class describes an object whose declaration structures the formatted input functions and the unformatted input functions. sync Synchronizes the input device associated with the stream with the stream's buffer. tellg Reports the current read position in the stream. unget Puts the most recently read character back into the stream. Operatorsoperator>> Calls a function on the input stream or reads formatted data from the input stream.
[解决办法]
试一试搜索istream