Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: holding more than one decimal Pin
Bob Flynn28-Oct-05 7:05
Bob Flynn28-Oct-05 7:05 
GeneralRe: holding more than one decimal Pin
David Crow28-Oct-05 7:30
David Crow28-Oct-05 7:30 
GeneralRe: holding more than one decimal Pin
Bob Flynn28-Oct-05 7:51
Bob Flynn28-Oct-05 7:51 
GeneralRe: holding more than one decimal Pin
mtucker678428-Oct-05 9:22
mtucker678428-Oct-05 9:22 
GeneralRe: holding more than one decimal Pin
David Crow28-Oct-05 9:55
David Crow28-Oct-05 9:55 
QuestionCEdit : GetLine Pin
DanYELL28-Oct-05 4:52
DanYELL28-Oct-05 4:52 
AnswerRe: CEdit : GetLine Pin
PJ Arends28-Oct-05 10:21
professionalPJ Arends28-Oct-05 10:21 
QuestionLink list Using STL Pin
itkid28-Oct-05 3:54
itkid28-Oct-05 3:54 
Hi Friend,
I want to create a link list using STL. I am doing the following

-----------------.h file---------------
struct CNode
{
	long x;
	_bstr_t b;
	_bstr_t c;
};
class A
{
...
typedef std::list<CNode* > SEC_MSG_DATA;	
SEC_MSG_DATA	node;	
...
}

--------------------------------------------------
I am trying to acces the member of the structure CNode through the object pointer of class A (pA->node.x) however i am getting the error message
<x is not a member of 'list<struct CNode *,class std::allocator<struct CNode *> >

Can you please help me.

Thanks
Confused | :confused:

-- modified at 11:39 Friday 28th October, 2005
AnswerRe: Link list Using STL Pin
toxcct28-Oct-05 4:08
toxcct28-Oct-05 4:08 
GeneralRe: Link list Using STL Pin
itkid28-Oct-05 4:23
itkid28-Oct-05 4:23 
GeneralRe: Link list Using STL Pin
toxcct28-Oct-05 4:31
toxcct28-Oct-05 4:31 
GeneralRe: Link list Using STL Pin
itkid28-Oct-05 6:02
itkid28-Oct-05 6:02 
AnswerRe: Link list Using STL Pin
Eytukan28-Oct-05 4:41
Eytukan28-Oct-05 4:41 
GeneralRe: Link list Using STL Pin
itkid28-Oct-05 5:34
itkid28-Oct-05 5:34 
GeneralRe: Link list Using STL Pin
Eytukan28-Oct-05 5:57
Eytukan28-Oct-05 5:57 
AnswerRe: Link list Using STL Pin
Maximilien28-Oct-05 4:45
Maximilien28-Oct-05 4:45 
GeneralRe: Link list Using STL Pin
itkid28-Oct-05 6:46
itkid28-Oct-05 6:46 
QuestionAssertion in ctlreg.cpp (OLE Registration) Pin
SatyaDY28-Oct-05 3:50
SatyaDY28-Oct-05 3:50 
QuestionInternet Explorer Toolbar Pin
Mircea Grelus28-Oct-05 3:03
Mircea Grelus28-Oct-05 3:03 
QuestionForcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
ja100128-Oct-05 2:48
ja100128-Oct-05 2:48 
AnswerRe: Forcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
David Crow28-Oct-05 3:04
David Crow28-Oct-05 3:04 
AnswerRe: Forcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
Cedric Moonen28-Oct-05 3:13
Cedric Moonen28-Oct-05 3:13 
AnswerRe: Forcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
Michael Dunn28-Oct-05 3:24
sitebuilderMichael Dunn28-Oct-05 3:24 
AnswerRe: Forcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
Blake Miller28-Oct-05 7:32
Blake Miller28-Oct-05 7:32 
QuestionRe: Forcing an allocated Heap to physical memory &amp; not to be swaped to the page file. Pin
ja100129-Oct-05 4:49
ja100129-Oct-05 4:49 

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.