Jump to content
Larry Ullman's Book Forums

girlsome

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About girlsome

  • Rank
    Newbie
  1. Hi All, Im trying to solve a problem with C struct. This is the structure of the struct in header file that is 'included': struct plantbl { char max_harmonic[9]; char max_power_of_t; signed char *arg_tbl; double *lon_tbl; double *lat_tbl; double *rad_tbl; double distance; }; To use this struct, the current code is in this format: static struct plantbl FAR mer404 = { { 11, 14, 10, 11, 4, 5, 2, 0, 0,}, 6, merargs, mertabl, mertabb, mertabr, 3.8709830979999998e-01, }; However the above code produces this error: /Users/bliss/Documents/iPhone_Programming/My XCode 4.1 Apps/SwissTest/swemptab.
×
×
  • Create New...