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

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

瀏覽:854
日期:2025-04-26
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 )....看更多