Click here to Skip to main content
15,900,598 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CTextProgressCtrl::* )(UINT,LPCTSTR)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' Pin
CPallini30-Oct-08 23:17
mveCPallini30-Oct-08 23:17 
Questionno stdint.h in VC9 Pin
followait30-Oct-08 18:42
followait30-Oct-08 18:42 
Questionfunction help Pin
jonig1930-Oct-08 18:23
jonig1930-Oct-08 18:23 
AnswerRe: function help Pin
SandipG 30-Oct-08 21:20
SandipG 30-Oct-08 21:20 
GeneralRe: function help Pin
Garth J Lancaster30-Oct-08 21:27
professionalGarth J Lancaster30-Oct-08 21:27 
AnswerRe: function help Pin
Garth J Lancaster30-Oct-08 21:26
professionalGarth J Lancaster30-Oct-08 21:26 
GeneralRe: function help Pin
jonig1931-Oct-08 6:35
jonig1931-Oct-08 6:35 
Questionmultiple iterators within custom stl container Pin
mellib30-Oct-08 18:17
mellib30-Oct-08 18:17 
Hi,

I have a newbie question I hope somebody can help me with.

I am writing a custom stl container, basically a specialized kind of tree. The container needs to implement a variety of iterator options (preorder traversal, postorder traversal, breadth-first traversal, depth-first traversal, etc). The easiest way to do this appears to be to write a number of distinct iterators that traverse the tree in different ways.

I see from the standard stl containers that they always typedef "iterator" and "const_iterator" (plus reverse versions). Since I will have more than one kind of iterator, I am not sure how my container can be made stl compliant.

So my question is, is it a strict requirement of an stl container that it exposes these standard iterator typdefs? If I typedef "iterator1", "iterator2", etc., will the stl algorithms still work without any unforeseen problems, or are there specific requirements for the presence of "iterator" and "const_iterator"?

I hope this makes sense, please let me know if further clarification is needed.

Thanks for any advice and help! I really appreciate it.

Mellib
QuestionAutomated builds Pin
bigcivilmelon30-Oct-08 13:50
bigcivilmelon30-Oct-08 13:50 
AnswerRe: Automated builds Pin
Rolf Kristensen30-Oct-08 14:24
Rolf Kristensen30-Oct-08 14:24 
QuestionSystem owned process that is accessible through a UI from differed Windows user Pin
Darrel Q Pham30-Oct-08 10:40
Darrel Q Pham30-Oct-08 10:40 
AnswerRe: System owned process that is accessible through a UI from differed Windows user Pin
bigcivilmelon30-Oct-08 22:19
bigcivilmelon30-Oct-08 22:19 
GeneralRe: System owned process that is accessible through a UI from differed Windows user Pin
Darrel Q Pham31-Oct-08 9:35
Darrel Q Pham31-Oct-08 9:35 
QuestionHow to get currently windows logged on users profile directory. Pin
WindowsPistha30-Oct-08 8:03
WindowsPistha30-Oct-08 8:03 
AnswerRe: How to get currently windows logged on users profile directory. Pin
Mark Salsbery30-Oct-08 8:31
Mark Salsbery30-Oct-08 8:31 
GeneralRe: How to get currently windows logged on users profile directory. Pin
WindowsPistha30-Oct-08 8:34
WindowsPistha30-Oct-08 8:34 
QuestionRe: How to get currently windows logged on users profile directory. Pin
David Crow30-Oct-08 9:07
David Crow30-Oct-08 9:07 
GeneralRe: How to get currently windows logged on users profile directory. [modified] Pin
WindowsPistha30-Oct-08 18:58
WindowsPistha30-Oct-08 18:58 
QuestionRe: How to get currently windows logged on users profile directory. Pin
David Crow31-Oct-08 2:45
David Crow31-Oct-08 2:45 
GeneralRe: How to get currently windows logged on users profile directory. Pin
Mark Salsbery30-Oct-08 9:52
Mark Salsbery30-Oct-08 9:52 
GeneralRe: How to get currently windows logged on users profile directory. Pin
WindowsPistha30-Oct-08 19:04
WindowsPistha30-Oct-08 19:04 
QuestionProbem adding a null character to std::string Pin
santiageitorx30-Oct-08 7:17
santiageitorx30-Oct-08 7:17 
AnswerRe: Probem adding a null character to std::string Pin
santiageitorx30-Oct-08 7:41
santiageitorx30-Oct-08 7:41 
GeneralRe: Probem adding a null character to std::string Pin
led mike30-Oct-08 7:58
led mike30-Oct-08 7:58 
GeneralRe: Probem adding a null character to std::string Pin
CPallini31-Oct-08 0:36
mveCPallini31-Oct-08 0:36 

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.