| lypan (1) | |
|
http://www.cplusplus.com/reference/istream/istream/get/ I look the reference of std:istream:get and found that there are many function prototypes. ex: public member function std::istream::get <istream> int get(); istream& get ( char& c ); istream& get ( char* s, streamsize n ); istream& get ( char* s, streamsize n, char delim ); istream& get ( streambuf& sb); istream& get ( streambuf& sb, char delim ); then how do I know that which one function is called when calling get? Thx in adhvance. | |
|
|
|
| Chervil (1206) | |
|
See Overloaded functions http://www.cplusplus.com/doc/tutorial/functions2/ | |
|
|
|