line break
This commit is contained in:
@@ -285,7 +285,7 @@ object. There are several ways of constructing string objects:
|
||||
|
||||
## 1.15 Another Sample C++ Program: Reading From & Writing To Files
|
||||
|
||||
This [example program](getline.cpp) is the starting point to most of your homeworks. It shows how you can read information from a file, and write information into another file.
|
||||
The STL streams std::cin & std::cout are used to read data from and write data to the "console". Often, we would rather read data from a file and/or write the output to a file. We can do this using the STL file stream library fstream. And here is an [example program](getline.cpp). Actually, this example program is the starting point to most of your homeworks. It shows how you can read information from a file, and write information into another file.
|
||||
|
||||
## 1.16 Two Useful String Functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user