1. Home >
  2. Apps >
  3. Groups >

DeBugging Reqd. c++

Question asked by sanchitgulati in #Coffee Room on Apr 6, 2009
sanchitgulati
sanchitgulati · Apr 6, 2009
Rank E2 - BEGINNER
Problem Solved....can't get this thread removed. Posted in: #Coffee Room
silverscorpion
silverscorpion · Apr 6, 2009
Rank A3 - PRO
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 · Apr 6, 2009
Rank C2 - EXPERT
@sanchitgulati:
Don't delete the code even though your problem is solved.It might be useful for others.
silverscorpion
silverscorpion · Apr 6, 2009
Rank A3 - PRO
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 · Apr 6, 2009
Rank A1 - PRO
Yep, don't remove the contents. They might be useful to others 😀

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up