diff options
| author | Benjamin Schroeder <[email protected]> | 2021-12-03 17:05:08 -0800 |
|---|---|---|
| committer | Benjamin Schroeder <[email protected]> | 2021-12-03 17:05:08 -0800 |
| commit | dbca20d27a4bfef40ae18882bcde8284ebd31673 (patch) | |
| tree | 4de81c195245a6d436f333f09a5d63ee7a22a6aa /CST116F2021-Lab9/linesOfText.txt | |
| parent | Initial commit WITH CODE (diff) | |
| download | cst116-lab9-bensprogramma-dbca20d27a4bfef40ae18882bcde8284ebd31673.tar.xz cst116-lab9-bensprogramma-dbca20d27a4bfef40ae18882bcde8284ebd31673.zip | |
Push with txt files
Diffstat (limited to 'CST116F2021-Lab9/linesOfText.txt')
| -rw-r--r-- | CST116F2021-Lab9/linesOfText.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CST116F2021-Lab9/linesOfText.txt b/CST116F2021-Lab9/linesOfText.txt new file mode 100644 index 0000000..7ad3748 --- /dev/null +++ b/CST116F2021-Lab9/linesOfText.txt @@ -0,0 +1,5 @@ +The C++ getline() is a standard library function that is used to read a string or a line from an input stream. +It is a part of the <string> header. +The getline() function extracts characters from the input stream and appends it to the string object until the delimiting character is encountered. +While doing so the previously stored value in the string object str will be replaced by the input string if any. +The getline() function can be represented in two ways:
\ No newline at end of file |