Syntax Error.

Discussion in 'C' started by daniel.clic, Sep 1, 2010.

  1. daniel.clic

    daniel.clic New Member

    Sep 1, 2010
    Likes Received:
    Trophy Points:
    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.


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice