Reading a line of text from the standard input using cin.getline() method in C++ programming

Reading a line of text from the standard input using cin.getline() method in C++ programming

瀏覽:1334
日期:2024-05-14
Output example: Read by cin.getline(buffer, SIZE)-----Enter a line of text: THis is a line of text from standard input The line of text entered is: THis is a line of text from standard input Press any key to continue . . . C and C++ Programming | ......看更多