Click here to Skip to main content
15,947,476 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: code to disable Pin
Viorel.13-Jun-06 2:27
Viorel.13-Jun-06 2:27 
GeneralRe: code to disable Pin
yogendra kaushik13-Jun-06 2:38
yogendra kaushik13-Jun-06 2:38 
GeneralRe: code to disable Pin
Viorel.13-Jun-06 2:46
Viorel.13-Jun-06 2:46 
GeneralRe: code to disable Pin
yogendra kaushik13-Jun-06 3:14
yogendra kaushik13-Jun-06 3:14 
GeneralRe: code to disable Pin
yogendra kaushik13-Jun-06 3:29
yogendra kaushik13-Jun-06 3:29 
AnswerRe: code to disable Pin
jhwurmbach21-Jun-06 21:48
jhwurmbach21-Jun-06 21:48 
AnswerRe: code to disable Pin
Hamid_RT12-Jun-06 1:29
Hamid_RT12-Jun-06 1:29 
Questionstring::const_iterator in VC8 Pin
Idefix12-Jun-06 0:22
Idefix12-Jun-06 0:22 
The problem with the compiler VC8 is as follows:
<br />
char sz[]="Hello";<br />
std::string s=sz;<br />
std::string::const_iterator iBegin,iEnd,iPos;<br />
<br />
//string<br />
iBegin=s.begin();<br />
iEnd=iBegin+3;<br />
iPos=std::find(iBegin,iEnd,'e');<br />
<br />
//char<br />
iBegin=std::string::const_iterator(sz,NULL);<br />
iEnd  =iBegin+3;<br />
iPos  =std::find(iBegin,iEnd,'e');<br />


Is it possible to avoid const_iterator(sz,NULL) without using the defines

<br />
#define _HAS_ITERATOR_DEBUGGING 0<br />
#define _SECURE_SCL 0<br />


Or must I copy the char array into stl:string? Is it really standard const_iterator(ptr, this)?
AnswerRe: string::const_iterator in VC8 Pin
Viorel.12-Jun-06 1:10
Viorel.12-Jun-06 1:10 
GeneralRe: string::const_iterator in VC8 Pin
Idefix12-Jun-06 1:57
Idefix12-Jun-06 1:57 
AnswerRe: string::const_iterator in VC8 Pin
Michael Dunn12-Jun-06 7:07
sitebuilderMichael Dunn12-Jun-06 7:07 
QuestionMasked input (standard c++) Pin
Peter Charlesworth12-Jun-06 0:13
Peter Charlesworth12-Jun-06 0:13 
AnswerRe: Masked input (standard c++) Pin
Maximilien12-Jun-06 1:25
Maximilien12-Jun-06 1:25 
GeneralRe: Masked input (standard c++) Pin
Peter Charlesworth12-Jun-06 9:48
Peter Charlesworth12-Jun-06 9:48 
AnswerRe: Masked input (standard c++) Pin
Viorel.12-Jun-06 2:52
Viorel.12-Jun-06 2:52 
QuestionThumbnail in report list controller Pin
NoName II12-Jun-06 0:11
NoName II12-Jun-06 0:11 
AnswerRe: Thumbnail in report list controller Pin
Ganesh_T12-Jun-06 2:01
Ganesh_T12-Jun-06 2:01 
Questionhow to use the variable of another property sheet in M.F.C? [modified] Pin
amit.code11-Jun-06 23:59
amit.code11-Jun-06 23:59 
AnswerRe: how to use the variable of another property sheet in M.F.C? Pin
ThatsAlok12-Jun-06 1:54
ThatsAlok12-Jun-06 1:54 
GeneralRe: how to use the variable of another property sheet in M.F.C? Pin
amit.code12-Jun-06 22:29
amit.code12-Jun-06 22:29 
GeneralRe: how to use the variable of another property sheet in M.F.C? Pin
ThatsAlok12-Jun-06 23:04
ThatsAlok12-Jun-06 23:04 
GeneralRe: how to use the variable of another property sheet in M.F.C? Pin
amit.code13-Jun-06 0:27
amit.code13-Jun-06 0:27 
QuestionRe: how to use the variable of another property sheet in M.F.C? Pin
David Crow12-Jun-06 3:00
David Crow12-Jun-06 3:00 
AnswerRe: how to use the variable of another property sheet in M.F.C? Pin
amit.code12-Jun-06 22:14
amit.code12-Jun-06 22:14 
GeneralRe: how to use the variable of another property sheet in M.F.C? Pin
David Crow13-Jun-06 2:51
David Crow13-Jun-06 2:51 

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.