New answers tagged

0 votes

How to open multiple files with fopen()

it's unclear what you're trying to do. It's certainly possible to have multiple files open at the same time. You just have to have multiple file pointers: FILE * f1 = fopen("onefile.txt", &...
  • 66.7k

Top 50 recent answers are included