1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

gcc error

Discussion in 'C' started by sudu, Sep 1, 2006.

  1. sudu

    sudu New Member

    Joined:
    Sep 1, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I'v got a error in gcc compiling a C code. it says

    expexted declaration or statement at the end of input

    I cant figure what this means. and one other thing this always indecate the last line of that file.

    can someone help me out in this........
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,287
    Likes Received:
    364
    Trophy Points:
    83
  3. coderzone

    coderzone Super Moderator

    Joined:
    Jul 25, 2004
    Messages:
    734
    Likes Received:
    37
    Trophy Points:
    0
    Can you share the code snippets which is giving you the error so that we can look into the matter. I think its the problem with the syntax of the code.
     
  4. coderzone

    coderzone Super Moderator

    Joined:
    Jul 25, 2004
    Messages:
    734
    Likes Received:
    37
    Trophy Points:
    0
    Ohh Just missed the reply by a bit I guess.
     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,287
    Likes Received:
    364
    Trophy Points:
    83
    Yes. probably in seconds.
     

Share This Page