Home > Back-end >  How to use vscode text file to read and write
How to use vscode text file to read and write

Time:04-21


Has been won't open the case, but in the dev can run normally, beg god to reassure

CodePudding user response:

 fprintf (stderr, "can 't open q1: % s \ n", the strerror (errno)); 

Replace with the
 printf (" can 't open q1!" ); 


Note with string. H and errno. H header file, or could have compile errors or warnings;

Can be seen through the strerror function q1 to open the cause of the failure;
  • Related