DeBugging Reqd. c++

sanchitgulati

sanchitgulati

@sanchitgulati-h9qy4V Oct 21, 2024
Problem Solved....can't get this thread removed.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • silverscorpion

    silverscorpion

    @silverscorpion-iJKtdQ Apr 6, 2009

    whoa, you want us to debug such a long code?? What, is this your assignment or project work or something??

    Anyhow, I'm not too good with C++. There are some others who are well versed in C++ who may help debug this. But as far as my knowledge goes, you made a mistake in the class declaration itself. In the private variables, there's a variable called,

    char ***.

    This is not a valid C++ variable name. I see the same used in many places, and they are all errors. I don't know if it's a variable name or a triple pointer. Please check those. Other than that, I cant find any mistakes in the code. That seems to be the only error. Also, I executed the code changing the variables to "a" instead of *** and the compiler showed some errors in some loops. Take care of that.

    PS - of course, I didnt go through the full code thoroughly, there might be more errors there.
  • komputergeek

    komputergeek

    @komputergeek-Yf5hJ4 Apr 6, 2009

    @sanchitgulati:
    Don't delete the code even though your problem is solved.It might be useful for others.
  • silverscorpion

    silverscorpion

    @silverscorpion-iJKtdQ Apr 6, 2009

    yep. You can't delete the thread.
    So, don't remove the code. Please put it back so that it might be of some help to the
    others.
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Apr 6, 2009

    Yep, don't remove the contents. They might be useful to others 😀