![]() |
|
#1
|
|||
|
|||
beginner::friend template classi 'm creating class list
but i got compiler message List is not a template class. CPP / C++ / C Code:
is this ok? friend class List <Type>; |
|
#2
|
||||
|
||||
|
Heheh, you changed the order:
CPP / C++ / C Code:
This should be OK... Kind regards, Lucian [edit] Also, I'm not sure why you didn't end your first class' definition with ;. You should have gotten an error about that. [/edit] __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
Developing GUIs with wxPython (Part 3) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help on how to reload ostream operator in a template class | eggie | C++ Forum | 4 | 07-Feb-2005 17:14 |
| Error C2146: syntax error : missing ',' before identifier 'C4' | mattchew008 | C++ Forum | 2 | 19-Dec-2004 06:06 |
| Help! Some basal questions about MFC | xutingnjupt | MS Visual C++ / MFC Forum | 1 | 05-Dec-2004 03:38 |
| hashing help | saiz66 | C++ Forum | 1 | 06-Jul-2004 06:16 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The