Professional Documents
Culture Documents
Prog 2 Reviewer
Prog 2 Reviewer
possible- true
the stream ic alled an input stream if the flow is out your program-
ifstream=read,in; ofstream=write,out
fgetc function returns the next character from the stream reffered to by the file
pointer- true,
the current, and next, then next, etc.
using a binary file mode causes a program to tranfer data from memory to a file-
true
opening a existing file for appending causes the previous file to be discarded
while opening for witing
preserves them-false
inside the struct definition members are only declared with the same data types-
false
a function that breaks the connection between the file pointer and the externel
name established by fopen
-fclose-
afunc that writes a char to a file
- fputc
a smaller value in a strucuture is called -struc value or mem value
a func that read the next input line from the file pointer into the char array
line-fgets
c++ file stream classes inherit a stream state member from-ios_base class
fclose= inverse of fopen, break connection netween file pointer and the
external name that was established by the fopen function