Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: simple postfix decrement Pin
Michael Dunn2-May-04 20:29
sitebuilderMichael Dunn2-May-04 20:29 
GeneralRe: simple postfix decrement Pin
alex.barylski2-May-04 20:41
alex.barylski2-May-04 20:41 
GeneralRe: simple postfix decrement Pin
David Crow3-May-04 2:29
David Crow3-May-04 2:29 
GeneralRe: simple postfix decrement Pin
Prakash Nadar3-May-04 7:49
Prakash Nadar3-May-04 7:49 
GeneralRe: simple postfix decrement Pin
David Crow3-May-04 8:11
David Crow3-May-04 8:11 
GeneralRe: simple postfix decrement Pin
Maxwell Chen2-May-04 20:42
Maxwell Chen2-May-04 20:42 
GeneralHelp regrarding TrayIcons. Pin
Prakash Nadar2-May-04 19:59
Prakash Nadar2-May-04 19:59 
GeneralHelp! cannot use CTypedPtrList Pin
jfk_lili2-May-04 19:48
jfk_lili2-May-04 19:48 
hi, guys
i need to use a CTypedPtrList templet structure in my program.
here is my code: (CFreqStandard is a class which i derived from CObject and it's basically used to store some data)

class CSDIgDoc : public CDocument
{
protected: // create from serialization only
CSDIgDoc();
DECLARE_DYNCREATE(CSDIgDoc)
protected:
//CTypedPtrList<coblist,cfreqstandard*> FreqList;
//CString StandardName;

CString StandardName;
CTypedPtrList<coblist,cfreqstandard> m_FreqList;/////////////////////

// Attributes
public:

// Operations
public:

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSDIgDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL

// Implementation
public:
virtual ~CSDIgDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif

protected:


// Generated message map functions
protected:
//{{AFX_MSG(CSDIgDoc)

//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

but when i compile i always get an error in the line
CTypedPtrList<coblist,cfreqstandard> m_FreqList;
it shows that "'CTypedPtrList' : missing storage-class or type specifiers"
what is the problem in this case?Cry | :((
Thank you very much in advance
GeneralRe: Help! cannot use CTypedPtrList Pin
KaЯl2-May-04 22:15
KaЯl2-May-04 22:15 
QuestionHow can i avoid messagebox?? Pin
emmatty2-May-04 19:37
emmatty2-May-04 19:37 
AnswerRe: How can i avoid messagebox?? Pin
jmkhael2-May-04 21:42
jmkhael2-May-04 21:42 
GeneralCTime cause Assertion Failed Pin
lonely_life2-May-04 18:53
lonely_life2-May-04 18:53 
GeneralRe: CTime cause Assertion Failed Pin
GDavy2-May-04 19:33
GDavy2-May-04 19:33 
Generalwininet.lib Pin
Chintoo7232-May-04 18:34
Chintoo7232-May-04 18:34 
GeneralRe: wininet.lib Pin
Alexander M.,3-May-04 2:04
Alexander M.,3-May-04 2:04 
QuestionHow to Statically link a DLL Pin
Chintoo7232-May-04 18:30
Chintoo7232-May-04 18:30 
AnswerRe: How to Statically link a DLL Pin
Andrew Walker3-May-04 0:05
Andrew Walker3-May-04 0:05 
GeneralRe: How to Statically link a DLL Pin
Chintoo7233-May-04 3:29
Chintoo7233-May-04 3:29 
GeneralRe: How to Statically link a DLL Pin
Andrew Walker3-May-04 15:54
Andrew Walker3-May-04 15:54 
Generalneed help with arrays Pin
bishead2-May-04 18:29
bishead2-May-04 18:29 
GeneralRe: need help with arrays Pin
Maxwell Chen2-May-04 19:48
Maxwell Chen2-May-04 19:48 
GeneralRe: need help with arrays Pin
bishead2-May-04 20:11
bishead2-May-04 20:11 
GeneralRe: need help with arrays Pin
Maxwell Chen2-May-04 20:23
Maxwell Chen2-May-04 20:23 
GeneralThread &amp; Class Pin
IceBerG712-May-04 18:01
IceBerG712-May-04 18:01 
GeneralRe: Thread &amp; Class Pin
markkuk2-May-04 22:50
markkuk2-May-04 22:50 

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.