Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Open source my WGI, a GUI lib written with C. Pin
CPallini16-Nov-09 21:01
mveCPallini16-Nov-09 21:01 
QuestionCString - Find How many same words. Pin
Paulraj G16-Nov-09 16:34
Paulraj G16-Nov-09 16:34 
AnswerRe: CString - Find How many same words. Pin
«_Superman_»16-Nov-09 16:40
professional«_Superman_»16-Nov-09 16:40 
GeneralRe: CString - Find How many same words. Pin
Paulraj G16-Nov-09 16:49
Paulraj G16-Nov-09 16:49 
GeneralRe: CString - Find How many same words. Pin
«_Superman_»16-Nov-09 16:53
professional«_Superman_»16-Nov-09 16:53 
GeneralRe: CString - Find How many same words. Pin
Paulraj G16-Nov-09 16:57
Paulraj G16-Nov-09 16:57 
GeneralRe: CString - Find How many same words. Pin
Adam Roderick J16-Nov-09 16:54
Adam Roderick J16-Nov-09 16:54 
GeneralRe: CString - Find How many same words. Pin
ThatsAlok16-Nov-09 18:14
ThatsAlok16-Nov-09 18:14 
Adam Roderick J 09 wrote:
CString csStr = _T( "Hello it is circle, how is this circle" );LPCTSTR CIRCLE = _T( "Circle" );int nPos = 0;int nCountCircle = 0;while( -1 != ( nPos = csStr.Find( CIRCLE, nPos )){ nPos++;nCountCircle++;}


Could it will like this, possibly instead of nPos++ to nPos+= _tcslen(CIRCLE); , little more performance oriented code

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You

AnswerRe: CString - Find How many same words. Pin
Michael Schubert17-Nov-09 1:49
Michael Schubert17-Nov-09 1:49 
QuestionHelp,about update view. Pin
majianwei8616-Nov-09 15:55
majianwei8616-Nov-09 15:55 
AnswerRe: Help,about update view. Pin
«_Superman_»16-Nov-09 16:43
professional«_Superman_»16-Nov-09 16:43 
GeneralRe: Help,about update view. Pin
majianwei8616-Nov-09 19:02
majianwei8616-Nov-09 19:02 
AnswerRe: Help,about update view. Pin
Adam Roderick J16-Nov-09 16:45
Adam Roderick J16-Nov-09 16:45 
GeneralRe: Help,about update view. Pin
majianwei8616-Nov-09 19:05
majianwei8616-Nov-09 19:05 
QuestionHow to hide/remove the menu in MFC Dialog project ? Pin
wangningyu16-Nov-09 14:38
wangningyu16-Nov-09 14:38 
AnswerRe: How to hide/remove the menu in MFC Dialog project ? Pin
«_Superman_»16-Nov-09 15:41
professional«_Superman_»16-Nov-09 15:41 
GeneralRe: How to hide/remove the menu in MFC Dialog project ? Pin
wangningyu16-Nov-09 15:46
wangningyu16-Nov-09 15:46 
QuestionLittle help with analyzing minidumps Pin
Code-o-mat16-Nov-09 10:32
Code-o-mat16-Nov-09 10:32 
AnswerRe: Little help with analyzing minidumps Pin
«_Superman_»16-Nov-09 11:00
professional«_Superman_»16-Nov-09 11:00 
GeneralRe: Little help with analyzing minidumps Pin
Code-o-mat16-Nov-09 11:09
Code-o-mat16-Nov-09 11:09 
AnswerRe: Little help with analyzing minidumps Pin
Stephen Hewitt16-Nov-09 16:40
Stephen Hewitt16-Nov-09 16:40 
GeneralRe: Little help with analyzing minidumps Pin
Code-o-mat16-Nov-09 20:17
Code-o-mat16-Nov-09 20:17 
QuestionProblem with List Control Pin
emmmatty116-Nov-09 8:23
emmmatty116-Nov-09 8:23 
AnswerRe: Problem with List Control Pin
Richard MacCutchan16-Nov-09 8:43
mveRichard MacCutchan16-Nov-09 8:43 
AnswerRe: Problem with List Control Pin
«_Superman_»16-Nov-09 8:45
professional«_Superman_»16-Nov-09 8:45 

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.