Home > Back-end >  QT how to read multiple files at the same time? If the same directory has 5. TXT file, how to show u
QT how to read multiple files at the same time? If the same directory has 5. TXT file, how to show u

Time:09-22

CodePudding user response:

No great god? My top

CodePudding user response:

In order to read and deal with? And there are laws in the file name, file name is very good structure,

CodePudding user response:

I'm new don't know much about the specific procedures can help to write a paragraph

CodePudding user response:

refer to the second floor u010165006 response:
in order to read and deal with? And there are laws in the file name, file name is very good structure,
I am a novice don't know much about the specific procedures, write a program can do to help?

CodePudding user response:

 char fileName [20]. 
The FILE * fp.
for(int i=1; i<=16; I++)
{
Sprintf (fileName, "% which xt", I);
Fp=fopen (fileName, "r");
.
}

CodePudding user response:

reference 5 floor u010165006 reply:
 char fileName [20]. 
The FILE * fp.
for(int i=1; i<=16; I++)
{
Sprintf (fileName, "% which xt", I);
Fp=fopen (fileName, "r");
.
}


C, the way of not Qt way,
  • Related