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

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

瀏覽:885
日期:2026-04-20
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 )....看更多