![]() |
|
#1
|
|||
|
|||
pointer/reference issues? ... newbie confusedi have been working on this all DAY LONG. i am new to C++ and Unix and need to write this little tiny code in both. i am tripping all over myself with references and dereferences and operator overloads .... if anyone could help me decipher what my problem(s) are, that would be a lifesaver right now.
this is the error that i keep getting ... and below is the code. Code:
CPP / C++ / C Code:
thanks for looking at this!! crq Last edited by dsmith : 23-Jan-2005 at 07:10.
Reason: Please use [c] & [/c] for posting C/C++ code
|
|
#2
|
||||
|
||||
|
Quote:
This is wrong. You need to specify the return type before the resolution operator (:: ); the return type includes the reference operator (&): CPP / C++ / C Code:
I didn't follow all your code, so in case you have other errors, please let us know. Kind regards, Lucian __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Streamyx (DSL) and Windows ME issues. | JdS | Computer Software Forum - Windows | 4 | 03-Apr-2004 05:15 |
| Downloadable document compatibilty issues? | rhino1616 | Web Design Forum | 3 | 07-May-2003 04:05 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The