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...
Type: Posts; User: vampireiam
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...
Me and my stupid typos.
I meant that
int date = sim2_pop->record->png_date; //does not work
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...
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>...
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...
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;
......