Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Structure??? Pin
prasad_som31-Aug-06 22:56
prasad_som31-Aug-06 22:56 
GeneralRe: Structure??? Pin
Programm3r31-Aug-06 23:04
Programm3r31-Aug-06 23:04 
QuestionTemplate classes Pin
Waldermort31-Aug-06 22:33
Waldermort31-Aug-06 22:33 
AnswerRe: Template classes Pin
toxcct31-Aug-06 22:40
toxcct31-Aug-06 22:40 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 22:45
Waldermort31-Aug-06 22:45 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 22:53
Waldermort31-Aug-06 22:53 
GeneralRe: Template classes Pin
toxcct31-Aug-06 22:56
toxcct31-Aug-06 22:56 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:06
Waldermort31-Aug-06 23:06 
Thanks for your help with this, but I am still getting errors.
template<class _T> _T TCollection::at(unsigned int iPos)
{
...
}

template<class _T> void TCollection::add(_T T)

Results in the first error:
E:\Program\foo\TCollection.cpp(17) : error C2955: 'TCollection' : use of class template requires template argument list<br />
        e:\program\foo\tcollection.h(24) : see declaration of 'TCollection'<br />
E:\Program\foo\TCollection.cpp(25) : error C2955: 'TCollection' : use of class template requires template argument list

GeneralRe: Template classes Pin
toxcct31-Aug-06 23:08
toxcct31-Aug-06 23:08 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:15
Waldermort31-Aug-06 23:15 
GeneralRe: Template classes Pin
toxcct31-Aug-06 23:19
toxcct31-Aug-06 23:19 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:27
Waldermort31-Aug-06 23:27 
GeneralRe: Template classes Pin
Zac Howland1-Sep-06 4:18
Zac Howland1-Sep-06 4:18 
GeneralRe: Template classes Pin
toxcct1-Sep-06 4:47
toxcct1-Sep-06 4:47 
AnswerRe: Template classes Pin
prasad_som31-Aug-06 22:44
prasad_som31-Aug-06 22:44 
AnswerRe: Template classes Pin
Anonymuos1-Sep-06 0:30
Anonymuos1-Sep-06 0:30 
GeneralRe: Template classes Pin
Waldermort1-Sep-06 1:44
Waldermort1-Sep-06 1:44 
AnswerRe: Template classes Pin
MayankT1-Sep-06 0:45
MayankT1-Sep-06 0:45 
GeneralRe: Template classes Pin
toxcct1-Sep-06 1:51
toxcct1-Sep-06 1:51 
AnswerRe: Template classes Pin
Michael Dunn1-Sep-06 5:57
sitebuilderMichael Dunn1-Sep-06 5:57 
QuestionQuestion about dynamically allocated memory Pin
Eikthrynir31-Aug-06 21:37
Eikthrynir31-Aug-06 21:37 
AnswerRe: Question about dynamically allocated memory Pin
Stephen Hewitt31-Aug-06 21:43
Stephen Hewitt31-Aug-06 21:43 
AnswerRe: Question about dynamically allocated memory Pin
prasad_som31-Aug-06 22:21
prasad_som31-Aug-06 22:21 
AnswerRe: Question about dynamically allocated memory Pin
Hamid_RT31-Aug-06 22:48
Hamid_RT31-Aug-06 22:48 
GeneralRe: Question about dynamically allocated memory Pin
Cedric Moonen31-Aug-06 23:02
Cedric Moonen31-Aug-06 23:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.