Search:

Type: Posts; User: deadpickle

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    3,084

    //~...

    //~ _________________________________________________
    //~ Read RADAR data
    void read_radar(char *radar,GooCanvasItem *group)
    {
    FILE * radar_file;

    //~ Open File
    if ((radar_file =...
  2. Replies
    16
    Views
    3,084

    Thank you for all of your help. Its good to learn...

    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...
  3. Replies
    16
    Views
    3,084

    Finally got GDB to work after installing a train...

    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...
  4. Replies
    16
    Views
    3,084

    That worked! And finally goo is displaying...

    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...
  5. Replies
    16
    Views
    3,084

    You're right. I does not occur in this...

    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?


    //~...
  6. Replies
    16
    Views
    3,084

    SegFault when reading a file

    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?


    //~ _________________________________________________
    //~...
  7. Replies
    1
    Views
    1,286

    Reading in a two line file

    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...
  8. Replies
    1
    Views
    838

    Code Aborted at run-time

    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...
Results 1 to 8 of 8