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

C / C++ / MFC

 
GeneralCTreeCtrl::GetItemState Pin
16-Jun-02 9:59
suss16-Jun-02 9:59 
GeneralRe: CTreeCtrl::GetItemState Pin
JohnJ16-Jun-02 10:19
JohnJ16-Jun-02 10:19 
GeneralRe: CTreeCtrl::GetItemState Pin
16-Jun-02 11:39
suss16-Jun-02 11:39 
QuestionHow is it you retrieve a string from a std::map? Pin
redeemer16-Jun-02 9:03
redeemer16-Jun-02 9:03 
AnswerRe: How is it you retrieve a string from a std::map? Pin
[James Pullicino]16-Jun-02 9:27
[James Pullicino]16-Jun-02 9:27 
GeneralRe: How is it you retrieve a string from a std::map? Pin
redeemer16-Jun-02 10:08
redeemer16-Jun-02 10:08 
GeneralRe: How is it you retrieve a string from a std::map? Pin
Joaquín M López Muñoz16-Jun-02 11:41
Joaquín M López Muñoz16-Jun-02 11:41 
GeneralRe: How is it you retrieve a string from a std::map? Pin
James R. Twine17-Jun-02 9:11
James R. Twine17-Jun-02 9:11 
   Ohhhh, careful...  I often see STL code that does stuff like this:
<br />
typedef  std::vector< DWORD > VectDWORD;<br />
typedef  std::vector< DWORD > VectDWORDIter;<br />
//<br />
// If You Cannot Figure The Typedef Name,<br />
// Then The Problem Lies With YOU! :)<br />
//<br />
VectDWORD      vecDWORD;<br />
VectDWORDIter  iterDWORD;<br />
//<br />
// Populate The Vector...<br />
//<br />
iterDWORD = vecDWORD.begin();<br />
<br />
FunctionThatTakesADWORDPointer( iterDWORD );<br />

   Which works under some STL implementations, but may not really be correct: pointers can be treated like iterators under some situations, but the reverse?  Stricter implementations will not let you do that (the stock one that comes with VC++ 6.0 will, however).

   Peace!

-=- James.
"Some People Know How To Drive, Others Just Know How To Operate A Car."
[Get Check Favorites 1.4 Now!]
GeneralRe: How is it you retrieve a string from a std::map? Pin
Christian Graus16-Jun-02 12:41
protectorChristian Graus16-Jun-02 12:41 
QuestionWhere to get REAL HTTP/1.1-compatible proxy? Pin
Artem Moroz16-Jun-02 6:14
Artem Moroz16-Jun-02 6:14 
GeneralRe: CSocket / TCP/IP handling of send/receive error... Pin
Joaquín M López Muñoz16-Jun-02 11:52
Joaquín M López Muñoz16-Jun-02 11:52 
GeneralRe: CSocket / TCP/IP handling of send/receive error... Pin
17-Jun-02 6:26
suss17-Jun-02 6:26 
GeneralUNICODE Pin
Ancient Dragon16-Jun-02 5:01
Ancient Dragon16-Jun-02 5:01 
GeneralRe: UNICODE Pin
Rama Krishna Vavilala16-Jun-02 8:37
Rama Krishna Vavilala16-Jun-02 8:37 
GeneralRe: UNICODE [with an addition] Pin
Joaquín M López Muñoz16-Jun-02 12:06
Joaquín M López Muñoz16-Jun-02 12:06 
GeneralReturning IStream Pin
Hans Ruck16-Jun-02 4:56
Hans Ruck16-Jun-02 4:56 
GeneralRe: Returning IStream Pin
Rama Krishna Vavilala16-Jun-02 8:38
Rama Krishna Vavilala16-Jun-02 8:38 
GeneralRe: Returning IStream Pin
Le centriste17-Jun-02 8:24
Le centriste17-Jun-02 8:24 
GeneralProgram stops when showing using DIalogBox function. Pin
redeemer16-Jun-02 3:55
redeemer16-Jun-02 3:55 
GeneralRe: Program stops when showing using DIalogBox function. Pin
Joaquín M López Muñoz16-Jun-02 4:06
Joaquín M López Muñoz16-Jun-02 4:06 
GeneralRe: Program stops when showing using DIalogBox function. Pin
redeemer16-Jun-02 4:29
redeemer16-Jun-02 4:29 
GeneralRe: Program stops when showing using DIalogBox function. Pin
Joaquín M López Muñoz16-Jun-02 4:31
Joaquín M López Muñoz16-Jun-02 4:31 
GeneralRe: Program stops when showing using DIalogBox function. Pin
redeemer16-Jun-02 4:44
redeemer16-Jun-02 4:44 
GeneralRe: Program stops when showing using DIalogBox function. Pin
Rama Krishna Vavilala16-Jun-02 8:40
Rama Krishna Vavilala16-Jun-02 8:40 
Generalthanks Pin
redeemer16-Jun-02 10:39
redeemer16-Jun-02 10:39 

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.