fscanf c delimiter csv code example
Example 1: fscanf with delimiter
fscanf(f, "%d_%[^_]_%[^_]_%d", &number, name, name1, &number2);
Example 2: fscanf with delimiter
fscanf(filePointerName, "%f%*c %s%*c %s ", &myFloatVariable, myString1, mySring2);