istream::getline - C++ Reference - Cplusplus.com

istream::getline - C++ Reference - Cplusplus.com

瀏覽:1246
日期:2025-06-14
istream& getline (char* s, streamsize n ); istream& getline (char* s, ... s: Pointer to an array of characters where extracted characters are stored as a c-string. ... This example illustrates how to get lines from the standard input stream ( cin )....看更多