![]() |
|
#1
|
|||
|
|||
Need a little syntax help I thinkI have a templated class something like this:
CPP / C++ / C Code:
Anyway my question is when I do the following declaration: TernaryNode * getNodeByElement(. . . ) I do not know the syntax for the implementation... I've tried things like TernaryNode TernaryTree<ItemType>::*getNodeByElement( . . . ) but nothing has worked so far. What am I doing wrong here? Last edited by admin : 06-Oct-2008 at 22:36.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
|||
|
|||
Re: Need a little syntax help I thinkQuote:
CPP / C++ / C Code:
CPP / C++ / C Code:
Likewise, when posting code, please place a [cpp] tag before the code, & [/cpp] afterwards. This maintains formating & color codes keywords & identifiers. |
|
#3
|
|||
|
|||
Re: Need a little syntax help I thinkThe function is a private member function of the class.
They are all declared and implemented in a header file and I use the scope operator to connect them like: CPP / C++ / C Code:
I need to know the correct syntax to use implementing CPP / C++ / C Code:
|
|
#4
|
|||
|
|||
Re: Need a little syntax help I thinkQuote:
|
|
#5
|
|||
|
|||
Re: Need a little syntax help I thinkI am used to implementing functions like this
CPP / C++ / C Code:
Can you be a little more specific to my situation with your answer? |
|
#6
|
|||
|
|||
Re: Need a little syntax help I thinkQuote:
CPP / C++ / C Code:
|
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linked Lists advice request | promsan | C Programming Language | 74 | 23-May-2007 09:29 |
| syntax errors in document | coder | MS Visual C++ / MFC Forum | 0 | 11-Mar-2006 05:12 |
| Winsock error when compiling FLTK 2.0 Projects | mauriciorossi | FLTK Forum | 3 | 16-Aug-2005 11:18 |
| Help with syntax errors | PeteGallo | C Programming Language | 7 | 08-Aug-2005 21:30 |
| syntax error ??? | crq | C++ Forum | 2 | 23-Jan-2005 17:57 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The