i havent programmed in C in years, i need to however for a project.
anyway, i'm reading in a data file and parsing it using basic file pointers. i read in all the data fine. however, when i try to declare a simple array, say, int my_array[10];, it seg faults. if i remove the code that reads in the data and declare the same array, it works fine.
any ideas? i can post the code if needed. thanks!
anyway, i'm reading in a data file and parsing it using basic file pointers. i read in all the data fine. however, when i try to declare a simple array, say, int my_array[10];, it seg faults. if i remove the code that reads in the data and declare the same array, it works fine.
any ideas? i can post the code if needed. thanks!