Forum: C++ May 11th, 2008 |
| Replies: 3 Views: 499 I am stuck on something that I know is so simple that I can't figure it out...
I have a BST class, and a private item:
Node<K> *root; // root pointer
//and in a seperate class I have...... |
Forum: C++ Mar 17th, 2008 |
| Replies: 2 Views: 1,872 Thanks! I guess I should have been able to figure that out! |
Forum: C++ Mar 17th, 2008 |
| Replies: 2 Views: 1,872 I am working with a function declaration of:
int func1(char *, unsigned int)
to the best of my understanding, I am not allowed to modify this. Now my question is that when I actually write this... |
Forum: C++ Nov 7th, 2007 |
| Replies: 4 Views: 2,900 aah thanks, so it's kinda of like overloading without actually overloading! |
Forum: C++ Nov 7th, 2007 |
| Replies: 4 Views: 2,900 what does it mean when you say z=1? Does it ignore what value you pass into the function? What is this called? |
Forum: C++ Nov 12th, 2006 |
| Replies: 9 Views: 3,007 actually many compilers (including mine) will let you do it, even though it is considered bad form. |
Forum: C++ Nov 12th, 2006 |
| Replies: 9 Views: 3,007 Your error lies in here, you should make sure the number you are reading IS NOT the sentinel AND smaller than the current smallest number before assigning it to temp2 (use an if then statement).... |
Forum: C++ Dec 10th, 2005 |
| Replies: 3 Views: 1,542 the reason I say they are spaces is because they part of the file that I am looking at is the ID3 tag of an MP3. In the ID3 tag, you can store information about an mp3 such as the artist, album,... |
Forum: C++ Dec 9th, 2005 |
| Replies: 3 Views: 1,542 I am trying to open a mp3 to read the ID3 tag information, when the mp3 is opened in an ASCII editor I can see all the information I want, including spaces. But...
When I try running the following... |
Forum: C++ Sep 11th, 2005 |
| Replies: 4 Views: 1,415 I don't want it to point to a particular field, I want to refer to the whole object |
Forum: C++ Sep 11th, 2005 |
| Replies: 4 Views: 1,415 so basically this is what I am doing:
myClass a,b,c;
a = myClass( ... );
b = myClass( ... );
c = a+b;
this is simple enough, but now I have to overload the operator...
myClass... |
Forum: C++ Apr 22nd, 2005 |
| Replies: 3 Views: 2,204 do you have a specific question besides how do I do my assignment? we are not here to do student's homeworks but to help out in specific areas...
you are not usign strings, you are usign char, but... |