Click here to Skip to main content
15,896,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Subclassing Pin
VinayCool11-May-06 23:54
VinayCool11-May-06 23:54 
GeneralRe: Subclassing Pin
vikramlinux12-May-06 0:01
vikramlinux12-May-06 0:01 
GeneralRe: Subclassing Pin
Scorpio12-May-06 0:03
Scorpio12-May-06 0:03 
GeneralRe: Subclassing Pin
voorugonda prashanth12-May-06 0:20
voorugonda prashanth12-May-06 0:20 
QuestionWindows Messaging Pin
Scorpio11-May-06 22:25
Scorpio11-May-06 22:25 
QuestionDebug log into a file Pin
gaze_11-May-06 22:20
gaze_11-May-06 22:20 
AnswerRe: Debug log into a file Pin
Axter11-May-06 23:55
professionalAxter11-May-06 23:55 
Questiontemplate problem Pin
NorGUI11-May-06 22:00
NorGUI11-May-06 22:00 
Sorry my first message was wrong template without ..

I have transfer onr project from VC 6.0 to Visual studio 2005. When I build it I get this error (C2146 && C4430) !

the code:

template<class element="">
class IterateurDeList : public Iterateur<element>
{

public:

std::list<element>* m_mylist;
std::list<element>::iterator m_itlist;

//declaration.....

}

e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : warning C4346: 'std::list::iterator' : dependent name is not a type
prefix with 'typename' to indicate a type
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(248) : see reference to class template instantiation 'IterateurDeList' being compiled
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : error C2146: syntax error : missing ';' before identifier 'm_itlist'
e:\norman\projekt\e software entwicklung sba\r measure software\sbamess_v02_vs2005\iterateurdelist.h(22) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

I need help to understand what I do wrong in this code.

Thank you

AutreChien

-- modified at 5:58 Friday 12th May, 2006
AnswerRe: Template with all informations Pin
Stephen Hewitt11-May-06 22:12
Stephen Hewitt11-May-06 22:12 
AnswerRe: Template with all informations Pin
BadKarma11-May-06 22:14
BadKarma11-May-06 22:14 
AnswerRe: Template with all informations Pin
toxcct11-May-06 22:14
toxcct11-May-06 22:14 
AnswerRe: [Message Deleted] Pin
Cedric Moonen11-May-06 23:32
Cedric Moonen11-May-06 23:32 
GeneralRe: [Message Deleted] Pin
toxcct11-May-06 23:34
toxcct11-May-06 23:34 
GeneralRe: [Message Deleted] Pin
Maxwell Chen11-May-06 23:48
Maxwell Chen11-May-06 23:48 
GeneralRe: [Message Deleted] Pin
NorGUI12-May-06 0:01
NorGUI12-May-06 0:01 
Generaloff topic Pin
toxcct12-May-06 0:05
toxcct12-May-06 0:05 
GeneralRe: [Message Deleted] Pin
Maxwell Chen12-May-06 0:07
Maxwell Chen12-May-06 0:07 
GeneralRe: [Message Deleted] Pin
VinayCool12-May-06 0:10
VinayCool12-May-06 0:10 
GeneralRe: [Message Deleted] Pin
Nibu babu thomas14-May-06 21:49
Nibu babu thomas14-May-06 21:49 
GeneralRe: [Message Deleted] Pin
Hamid_RT12-May-06 0:34
Hamid_RT12-May-06 0:34 
QuestionEnabling double click message handling in GLUT based windows Pin
lastgen11-May-06 21:43
lastgen11-May-06 21:43 
QuestionDebug and Release Version Pin
Scorpio11-May-06 21:29
Scorpio11-May-06 21:29 
AnswerRe: Debug and Release Version Pin
Cedric Moonen11-May-06 21:48
Cedric Moonen11-May-06 21:48 
QuestionHow to detect debug DLLs? Pin
Super Lloyd11-May-06 21:18
Super Lloyd11-May-06 21:18 
AnswerRe: How to detect debug DLLs? Pin
Anilkumar K V11-May-06 21:56
Anilkumar K V11-May-06 21:56 

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.