[RESOLVED] Simple C error!
C Code:
#ifndef _readIn_h
#define _readIn_h
void readIn(polynomial*, settings*);
#endif
polynomial and settings are typedef structs in a header file that readIn.C uses. So i shouldnt have to include the header file in this header file right?
Says it expects ')' before the '*' token... but it is fine and so is all other files... no other errors so i am a little confused!
Re: [RESOLVED] Simple C error!
Ooooo appears the error was in the main.c file... using Quincy and the formatting of errors is a bit weird thought there was only one... but i had included readIn.h before adt.h and it didn't like that so done...
C Code:
#include "adt.h"
#include "readIn.h"
Fixed :)
Re: [RESOLVED] Simple C error!