Comp Programming - 11.1 to 11.8

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

Describe the template for opening a file

FILE *filePointer;

filePointer = fopen(filename, mode);

<p>FILE *filePointer;</p><p>filePointer = fopen(filename, mode);</p>
2
New cards

state all the file modes

knowt flashcard image
3
New cards

Describe the fgetc() function

knowt flashcard image
4
New cards

Describe the fgets() function

knowt flashcard image
5
New cards

Describe the feof() function

knowt flashcard image
6
New cards

Describe the rewind() function

knowt flashcard image
7
New cards

State the check needed to see whether a file has successfully been opened

filePointer == NULL

8
New cards

Describe the fwrite and fread functions

knowt flashcard image
9
New cards

Describe the use of fread() and fwrite() functions with structures

knowt flashcard image
10
New cards

Describe the fseek() function

knowt flashcard image
11
New cards

Describe the use of fseek() when reading data

knowt flashcard image