×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: C
Posted by: Rob Green
Added: Sep 17, 2022 10:17 AM
Modified: Sep 19, 2022 11:39 AM
Views: 3
Tags: file io
  1.  char *path = "C:\\C\\Students.csv";
  2.  
  3.    FILE *file = fopen(path, "r");
  4.   if (file == NULL)
  5.   {
  6.        printf("Error opening file.\n");
  7.       return 1;
  8.   }