well this portion of code is basically just the structures from the program. everytime i compile the program i get an error at the INFOstructure.
i am using these structure in a program that read from a file and prints the data to the screen. my problem is that for some reason my structures are wrong.
thanks in advance for helping,

#include <stdio.h>
#include <string.h>
#define STR_SIZE 25
#define ARR_SIZE 10
#define MAX 15

typedef struct
  char month [MAX];
  int day;
  int year;

typedef struct  //this is the structure that is giving me problems.  for some reason the 
{                   // its  keeps saying no semicolon or union after struct.
  char firstname[MAX];
  char lastname[MAX];   
  DATE birthday;
  SSN social[9];
  GRADE stugrade;
typedef struct
  char social;
typedef struct
  int grade;
Votes + Comments
Thanks for using code tags correctly
9 Years
Discussion Span
Last Post by controlsi

thanks haha.
i was just reading the section in my book and its told me exactly what you said.
that the structure have to be initialized in a certain order

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.