Search:

Type: Posts; User: vampireiam

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,291

    I have verified that it isnt how the structs are...

    I have verified that it isnt how the structs are declared or how I am attepmting to access the field in the nested struct. I did a simple example and got everything to work using the structs as...
  2. Replies
    10
    Views
    2,291

    Me and my stupid typos. I meant that int...

    Me and my stupid typos.

    I meant that


    int date = sim2_pop->record->png_date; //does not work
  3. Replies
    10
    Views
    2,291

    I am going to relook at the get_data function to...

    I am going to relook at the get_data function to see if I can figure out how they loaded the simrad_struct itself. In the meanwhile here is a more description post of the code.



    simrad.h...
  4. Replies
    10
    Views
    2,291

    I have the "" around the include just fogot to...

    I have the "" around the include just fogot to type it.

    I am lookingat the file and the structs are both in there. The file basically contains a series of structs of the form


    struct <name>...
  5. Replies
    10
    Views
    2,291

    I have the file where the sctructs are defined as...

    I have the file where the sctructs are defined as an include statement.

    #include simrad.h

    and the referenced in the makefile.

    I even tried the following. The first line compiles but the...
  6. Replies
    10
    Views
    2,291

    Help with nested struct pointers

    I am tasked with writitng a program that populates a data file based on the contents of structures defined in a library. Below are the structures.


    struct simrad_struct
    {
    int num_records;
    ......
Results 1 to 6 of 6