Error in compiling

Discussion in 'C' started by creative, Mar 21, 2010.

  1. creative

    creative New Member

    Joined:
    Feb 15, 2010
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    0
    when i installed the TC software & execute a simple program i got an error "function printf should have a prototype".
    how do i eliminate this error????????? :mad:
     
  2. pankaj.sea

    pankaj.sea New Member

    Joined:
    Apr 6, 2009
    Messages:
    461
    Likes Received:
    13
    Trophy Points:
    0
    Occupation:
    Web Developer
    Location:
    Kolkata
    Home Page:
    http://ipankaj.net
    the solution of ur problem is something like this.....


    first go to option menu(Alt O) & then perform following steps...

    st1: select compiler
    st2: seletc c++ option
    st3: seletc '.CPP extention' insted of 'C++always'


    now u r ready to run any program......
     

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