You can't actually delete elements of an array in C/C++. You would need to move the 'o' up to the position of the first 'l'. You then need to...
I have a cart which does something similar on a client's site. When the user clicks "Buy" the cart page is brought up with a list of items, with...
So what the hell did you gain? You typed more characters than if you had just used the semicolon. Things like this are well known by...
The advantage of multiple inheritance is that you can inherit functionality from more than one object. Obviously, it would be bad if both objects...
Rambling, off-topic thread. Closed.
A single if-else with a condition cannot take both branches. It's not an interesting question, it's a silly question.
A circle is a kind of ellipse, so the elliplse would be the parent. The circle would be a child with the minor and major axes having the same...
It initializes those variables in the class. It's more effective than putting statements inside the constructor.
Where did you get this program? You have a number of issues. This function definition, getline(s, lim) char s[]; <---- here and int lim;...
Your array only has a few items. If you will go through your algorithm with pencil and paper, you will discover your problem. A heap siftdown...
You do not understand pointers. You have declared a pointer, but a pointer must point at a valid storage area. To be useful, it is part of a...
Read this with regard to putting code tags around your code. Then I'll have a look. It's too ugly, now.
Are you pretending that this is "ethical hacking"?
Read this thread. Here is a quote from it: We are not here to do your work, or your homework. How would you learn? Write some code and post...
Don't let your editor rewrite your code. Incidentally, Java and Javascript are two completely different languages.
The for loop is moving through the linked list until it reaches the end, as indicated by the next pointer being null. Now, you've gotten your...
You have a number of potential problems. For instance, you aren't testing to see if the file opened. Neither are you testing your various input...
Please put your code in tags (see the "Before you make a query" thread). No one wants to read that unformatted stuff to look for your problem. I...
Actually, the second string can be a literal. There MUST be enough storage in the destination string to accomodate the original plus the second...
Those look like they're probably link errors. It takes more than the header file. You have to link in the object file (library file) associated...
Separate names with a comma.