1. The________  member function moves the read position of a file.


2. Files that will be used for both input and output should be defined as______ data type.


3. The ________member function returns the write position of a file.


4. The ios:: _______file access flag indicates that output to the file will be written to the end of the file.


5. _______ files are files that do not store data as ASCII characters.


6. The ______ member function moves the write position of a file.


7. The __________function can be used to send an entire record or array to a binary file with one statement.


8. The______>> operator_______any leading whitespace.


9. The ________ function "looks ahead" to determine the next data value in an input file.


10.The ________ and __________ functions do not skip leading whitespace characters.

Respuesta :

Answer:

Answers explained with appropriate comments

Explanation:

1. seekp()   //the seekp sets the position where the next character is to be   //inserted into the output stream.

2. fstream  //fstream is used for input and output for files

//just like iostream for input and output data

3. tellp();  //tellp returns the "put" or write position of the file.

4. ios::ate  //ate meaning at the end, sets the file output at the file end

5. binary files  //binary files only store 0s and 1s

6. seekg()  //seekg is used to move write position of the file

7. put  //this is used to "put" or set records or arrays to a single file

8. std::ws , skips //the std::ws is used to discard leading whitespace from an //input stream

9. peek //this looks at the next character in the input sequence

10. get, peak //get and peek do not skip leading whitespace characters