Objectives :
- File Name: getline_char_string1.cpp
Accept a line as an input, can also be used to load the content
of a text file.
- String object can accept values from an character array.
- Syntax of geline(---)
istream& getline (char* s, streamsize n );
- Code :
getline_char_string1.txt
|