I am trying to open and read a CSV type file (language C), however i get an error. I use FILE* data = fopen("data.csv", "r"); to open the file, and get the following error message:
/usr/bin/ld:g2022_2023_ice.csv: file format not recognized; treating as linker script
/usr/bin/ld:g2022_2023_ice.csv:1: syntax error
collect2: error: ld returned 1 exit status
Is there a way to fix this? From what I understand the compiler is trying to run my CSV
file instead of the actual C file.