I did try to search but could not read the whole forum. Prospects: I am using Eclipse and MiniGW(compiler). I use a header file , a sourse file(for function descrition), and another sourse file( the main program). My problem: In the header file i declare : int something(FILE *in); (function that takes in a file and returns an integer(of course ) ). I always receive the error : Syntax error before '*' token; (if i delete the '*' i still get the error : just that it's "before in" ; I did google the problem but couldn't find an answer. Maybe someone had this problem as well. Thanks.