FILE *fp; //file pointer used to open file
int x=0; //looping variable
char* file=malloc(sizeof(char)*100); //holds file name
char* junk=malloc(sizeof(char)*10000); //holds unneeded parts of the file
char* select_ats=malloc(sizeof(char)*10000); //holds string of select attributes
char* num_group_var=malloc(sizeof(char)*10); //holds the number of grouping variables
char* group_ats=malloc(sizeof(char)*10000); //holds string of grouping attributes
char* f_vect=malloc(sizeof(char)*10000); //holds string of aggregate functions
char** select_cond=(char**)malloc(sizeof(char*)*100); //holds the select conditions
int q=0;
for(q=0;q<100;q++)
{
select_cond[q]=malloc(sizeof(char)*10000);
}