Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SQL Server tables are readonly, why? Pin
e-DJ29-May-06 4:16
e-DJ29-May-06 4:16 
QuestionWhat's the difference between GetLastError and WSAGetLastError? Pin
followait22-May-06 6:40
followait22-May-06 6:40 
GeneralRe: What's the difference between GetLastError and WSAGetLastError? Pin
Maxwell Chen22-May-06 6:42
Maxwell Chen22-May-06 6:42 
AnswerRe: What's the difference between GetLastError and WSAGetLastError? Pin
Zac Howland22-May-06 9:25
Zac Howland22-May-06 9:25 
GeneralRe: What's the difference between GetLastError and WSAGetLastError? Pin
followait22-May-06 15:53
followait22-May-06 15:53 
GeneralRe: What's the difference between GetLastError and WSAGetLastError? Pin
Zac Howland23-May-06 3:09
Zac Howland23-May-06 3:09 
GeneralRe: What's the difference between GetLastError and WSAGetLastError? Pin
followait22-May-06 16:14
followait22-May-06 16:14 
QuestionError while using list class Pin
Cyber Friend22-May-06 5:55
Cyber Friend22-May-06 5:55 
I m using list class in one of my classes in a project but getting this compile time error.

Compiling...
IvrNodeManager.cpp
f:\laeeq\ivr\ivr project\advivr\ivractions.h(35) : error C2143: syntax error : missing ';' before '<'
f:\laeeq\ivr\ivr project\advivr\ivractions.h(35) : error C2501: 'list' : missing storage-class or type specifiers
f:\laeeq\ivr\ivr project\advivr\ivractions.h(35) : error C2059: syntax error : '<'
f:\laeeq\ivr\ivr project\advivr\ivractions.h(35) : error C2238: unexpected token(s) preceding ';'
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(14) : error C2065: 'list' : undeclared identifier
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(14) : error C2059: syntax error : '>'
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(14) : error C2039: 'iterator' : is not a member of '`global namespace''
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(15) : error C2065: 'listIterat' : undeclared identifier
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(15) : error C2039: 'end' : is not a member of 'CList<class civraction,class="" civraction="" &="">'
f:\laeeq\ivr\ivr project\advivr\ivrnodemanager.cpp(15) : fatal error C1903: unable to recover from previous error(s); stopping compilation


here is the code of class CIVRNodeManager which is in ivrnodemanager.h

//////////////////////// ivrnodemanager.h ///////////////////

#include <list>#include "afxtempl.h"
#include <list>#include "DigitActions.h"
#include <string>

using namespace std;

class CIVRAction
{
public:
CIVRAction();
~CIVRAction();
private:
CString m_strName;
CString m_strType;
CString m_iID;
CString m_strActionIDOnSuccess;
CString m_strActionIDOnFaile;
CString m_strActionIDOnTimeout;
CString m_strActionIDOnMaxRetries;
public:
list <cdigitactions*> m_lstDigitActions;

////////////////////////////////////////////////

CDigitActions is a class which is already compiled

Cyber Friend
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 5:59
Maxwell Chen22-May-06 5:59 
AnswerRe: Error while using list class Pin
Cyber Friend22-May-06 6:01
Cyber Friend22-May-06 6:01 
GeneralRe: Error while using list class Pin
Cyber Friend22-May-06 6:03
Cyber Friend22-May-06 6:03 
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 6:09
Maxwell Chen22-May-06 6:09 
GeneralRe: Error while using list class Pin
Cyber Friend22-May-06 6:40
Cyber Friend22-May-06 6:40 
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 6:43
Maxwell Chen22-May-06 6:43 
GeneralRe: Error while using list class Pin
Cyber Friend22-May-06 22:39
Cyber Friend22-May-06 22:39 
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 23:14
Maxwell Chen22-May-06 23:14 
GeneralRe: Error while using list class Pin
Cyber Friend23-May-06 2:18
Cyber Friend23-May-06 2:18 
QuestionRe: Error while using list class Pin
David Crow22-May-06 6:33
David Crow22-May-06 6:33 
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 6:40
Maxwell Chen22-May-06 6:40 
GeneralRe: Error while using list class Pin
David Crow22-May-06 6:44
David Crow22-May-06 6:44 
GeneralRe: Error while using list class Pin
Maxwell Chen22-May-06 6:45
Maxwell Chen22-May-06 6:45 
QuestionHow to generate "Process Log" Pin
nagamohan_p22-May-06 5:51
nagamohan_p22-May-06 5:51 
QuestionRe: How to generate "Process Log" Pin
David Crow22-May-06 6:31
David Crow22-May-06 6:31 
AnswerRe: How to generate "Process Log" Pin
ThatsAlok22-May-06 19:25
ThatsAlok22-May-06 19:25 
AnswerRe: How to generate "Process Log" Pin
Hamid_RT22-May-06 19:30
Hamid_RT22-May-06 19:30 

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.