//~ _________________________________________________
//~ Read RADAR data
void read_radar(char *radar,GooCanvasItem *group)
{
FILE * radar_file;
//~ Open File
if ((radar_file =...
Type: Posts; User: deadpickle
//~ _________________________________________________
//~ Read RADAR data
void read_radar(char *radar,GooCanvasItem *group)
{
FILE * radar_file;
//~ Open File
if ((radar_file =...
Thank you for all of your help. Its good to learn how to debug a program.
From what this sounds like to me is that there is an error in reading the radars.gis file at the end. The line it points...
Finally got GDB to work after installing a train of debugs. It is as I expected:
0xb75d70a1 in _IO_feof (fp=0x88b6600) at feof.c:37
37 _IO_flockfile (fp);
The error seems to be in the...
That worked! And finally goo is displaying things. But I have suddenly started to get seg faults again. this time I cant really pin point the source but I think it is the while causing it since all...
You're right. I does not occur in this subroutine. It actually occurs in the one below, right below the printf statement. It seems the fscanf is causing it. Any ideas?
//~...
I keep getting a seg fault at the end of a file read. Each line of the file is around 500+ characters so MAX_LEN is 600. Any ideas?
//~ _________________________________________________
//~...
I am trying to read a file with this subroutine. It has two lines and looks as such:
kpaw 40.871 -104.714 Pawnee Radar
kchl 40.446 -104.637 CHILL Radar
When I run the program I get this...
I am new to C so humor more some. I am using shapelib and goocanvas to display TIGER shapefiles in a Gtk2 gui (a mouthful I know). Now I'm at the hard part, I want to loop through all the vertices of...