Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
File Read Write « File « C++
C++
File
File Read Write
1.
Reads information from the file and outputs it onto the screen
2.
Another example of read() and write() and illustrates the use of gcount( )
3.
Opening Files for Read and Write
4.
read( ), write( ) and gcount( ):
5.
Use get() and getline() to read characters.