OK, so the example data has the groups (let's label them as A B C D) seated as: AAAAAAAAAABBBBB AAAAAAAAAACCCD- If you start by adding up the...
As I understand it the point of the exercise is that the Set class contains the sets of numbers. So yes of course you can have a separate array...
Should use a loop instead of tail-recursion, then it won't use as much stack space.
The typedef defines ListNodePtr as a new type that is equivalent to ListNode *. So the definitions: ListNode *p1; ListNodePtr p2; are...
Inheritance doesn't make anything easier. Use this only when you have to. It certainly isn't needed for this task and you shouldn't use it...
It's not clear why you can't figure this out for yourself. If you've written the rest of the code then this should be trivial for a programmer...
Homework? Try reviewing the course notes and/or textbook; the answers will be in there. Sorry, but this means you're going to have to take some...
The compiler will throw an error if it can't resolve a call due to ambiguity.
You'll find more PIC experts at http://www.electro-tech-online.com/microcontrollers/
I'd have thought you want the Set members to be an array of some kind, e.g. int[20], rather than two distinct ints. If using int[20] (as opposed...
What are the errors?
Well we're not going to do your homework for you. Have another go and see how far you get, then post the code and we'll help you move on. HINT...
http://en.wikipedia.org/wiki/Tower_of_Hanoi
OK, maybe I was a bit harsh, and shouldn't have assumed this problem was due to you slacking off. Maybe the problem is that you've got a crap...
This site is called Go4Expert, not Go4GullibleIdiot, or Go4HomeworkAnswers, or Go4FreeConsultancyCosI'mTooLazyToStudy. Q1 These are very easy....
You might find this place more helpful: http://www.electro-tech-online.com/microcontrollers/
Well here's your code reformatted, and there is a very obvious problem with it at the end. Use correct formatting and you won't get this kind of...
Yes, but what you would have to do is have the program parse that file for the parameter. Or you could create a new program that parses the file,...
One way to do it is to have a "command sequence" stored in a string, where each character instructs the program what to do next. So it displays 2...
Re: What is difference between turnacate and delete ? see Page 19-67 of the 11.2 SQL Language Reference (or just search for TRUNCATE TABLE in...
Separate names with a comma.