new to C--can't get program to compile
Hi. I'm an experienced MATLAB programmer, but know nothing about lower level languages like C. I want to analyze some sea surface height data available from http://podaac.jpl.nasa.gov/. I can download the data files, but they are in some unknown binary format, and I can't read them. A C program is provided at http://aspera.jpl.nasa.gov/download/.../c/atgdmp_v2.c which dumps the data to some more readable format. My problem is I can't get the program to run. Having no C compiler, I downloaded one (called Miracle C Compiler) from www.c-compiler.com. But when I try to compile the program, I get:
too many locals declared
Am I doing something wrong? Is there maybe a limit on the size of variables because it's a free trial C compiler? Should I try downloading a different compiler? There seem to be more compilers for C# and C++ than for plain old C. Will these work?
Thanks a million for any insight.