recall() now properly closes storage.txt on completion.
This commit is contained in:
parent
e57d4717d7
commit
5ec722b2ca
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ int posLongest = 0;
|
|||
int main(){
|
||||
store();
|
||||
enumerate();
|
||||
recall();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -70,4 +71,5 @@ void recall (){
|
|||
putchar(c);
|
||||
}
|
||||
}
|
||||
fclose (fp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue