Hello,
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,
David
#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;
}DATE;
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;
}INFO;
typedef struct
{
char social;
}SSN;
typedef struct
{
int grade;
}GRADE;