can anyone rectify the errors in this prg.???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • visesh
    New Member
    • Oct 2013
    • 1

    #1

    can anyone rectify the errors in this prg.???

    This program is to be compiled and executed in Turbo c++
    Attached Files
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Fixing compile errors is part of software development. I suspect most of the code as written before it was compiled and that's the most likely reason for the errors.

    Start a new program like this:

    Code:
    int main()
    {
    
    }
    and compile it. There will be no errors. Next, add a few lines of code from the original program. Maybe 50 lines and recompile until there are no errors. Then add 50 more lines and repeat the process.

    This process guarantees that any errors will probably be in the last bit of code that was added.

    If you get an error you don't understand then you can post the error and I will help you with it.

    Comment

    • donbock
      Recognized Expert Top Contributor
      • Mar 2008
      • 2427

      #3
      It is a lot easier to help fix a problem if you tell us what it is.
      • Are you getting an error when you build (ie, compile) the program? If so, post the error messages.
      • Are you getting a runtime error (ie, the program crashes)? If so, post the error messages.
      • Is the programming acting differently than you expect? If so, tell us what you expect to happen and what is actually happening.

      Comment

      Working...