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

Getting error while compiling

Discussion in 'C++' started by ballurohit, Jul 29, 2014.

  1. ballurohit

    ballurohit New Member

    Joined:
    Nov 18, 2011
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    retired
    Location:
    Gujarat
    There is compilation error in the program. The file calculat)dat.txt is attached.

    The error "main already defined in some other file.
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You missed the attachment but just check the files you have included and it looks like you have 2 main functions.
     

Share This Page