fgetpos Questions
3
Solved
Supposed to swap every two lines in a file until just one line remains or all lines are exhausted. I don't want to use another file in doing so.
Here's my code:
#include <stdio.h>
int main...
Cook asked 4/2, 2017 at 22:59
1
Solved
6
Solved
The code currently does this and the fgetpos does handle files larger than 4GB but the seek returns an error, so any idea how to seek to the end of a file > 4GB?
fpos_t currentpos;
sok=fseek(f...
1
© 2022 - 2024 — McMap. All rights reserved.