Forum: C++ Nov 2nd, 2006 |
| Replies: 1 Views: 759 |
Forum: C++ Nov 2nd, 2006 |
| Replies: 1 Views: 759 Assignment operator help Hi I'm trying to have an assignment operator for my linked list class so that when I call it, it replaces the current one with the one I pass in.
i.e testList1 = testList2;
I'm trying to get it so... |
Forum: C++ Nov 2nd, 2006 |
| Replies: 4 Views: 3,095 |
Forum: C++ Nov 1st, 2006 |
| Replies: 4 Views: 3,095 Re: Help with binary search tree insertion I haven't included them in the post, they aren't really relevant to the problem. All WordStream.h does is read in a word from a specified file source and it works fine, I've all ready tested it. ... |
Forum: C++ Nov 1st, 2006 |
| Replies: 4 Views: 3,095 Help with binary search tree insertion I'm having a problem inserting data into my binary search tree, it will insert some of it but not all.
this is the header file for my BST class:
#ifndef BST_H
#define... |
Forum: C++ Nov 1st, 2006 |
| Replies: 1 Views: 685 New object initialization error Hi guys,
When I try to compile the code below I get an error saying: error C2065: 'file' : undeclared identifier. But if I run the program it still works.
//... |
Forum: C++ Aug 13th, 2006 |
| Replies: 4 Views: 1,810 |
Forum: C++ Aug 13th, 2006 |
| Replies: 4 Views: 1,810 C++ File Reading Problem I'm trying to read from a text file multiple times but I only seem to be able to read the data once. Any advice would be greatly appreciated.
string input;
while (!ifile.eof())
{
... |