Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do l execute a program from within the code? Pin
Georg Haan24-Jul-02 10:54
Georg Haan24-Jul-02 10:54 
AnswerRe: How do l execute a program from within the code? Pin
Todd Smith24-Jul-02 14:00
Todd Smith24-Jul-02 14:00 
Generalpuzzling question about pointers - *char Pin
ns24-Jul-02 10:37
ns24-Jul-02 10:37 
GeneralRe: puzzling question about pointers - *char Pin
David Chamberlain24-Jul-02 10:42
David Chamberlain24-Jul-02 10:42 
GeneralThank you.- another related question: Pin
ns24-Jul-02 10:58
ns24-Jul-02 10:58 
GeneralRe: Thank you.- another related question: Pin
David Chamberlain24-Jul-02 11:05
David Chamberlain24-Jul-02 11:05 
GeneralRe: Thank you.- another related question: Pin
ns25-Jul-02 1:19
ns25-Jul-02 1:19 
GeneralRe: puzzling question about pointers - *char Pin
Ravi Bhavnani24-Jul-02 10:49
professionalRavi Bhavnani24-Jul-02 10:49 
Ugh, code like this is difficult to maintain and won't pass a review. Now back to our regularly scheduled broadcast...

The first msgbox has an output as expected: " type1,depth,type2,range,type3*"
This surprises me. The output shouldn't include the trailing asterisk.

The second msgbox has an output of "type1". Thats all.
That makes sense, because you've happened to have (eventually) replaced the first comma with a null byte. Btw, the loop logic (specifically the increment) is suspect. What do you want to have happen?

/ravi

Let's put "civil" back into "civilization"
http://www.ravib.com
ravib@ravib.com
GeneralRe: puzzling question about pointers - *char Pin
ns25-Jul-02 1:18
ns25-Jul-02 1:18 
GeneralRe: puzzling question about pointers - *char Pin
Ravi Bhavnani25-Jul-02 2:36
professionalRavi Bhavnani25-Jul-02 2:36 
GeneralNever mind... Pin
Ravi Bhavnani25-Jul-02 2:37
professionalRavi Bhavnani25-Jul-02 2:37 
QuestionCan you create two CDialogBars in a frame window? Pin
JohnnyG24-Jul-02 10:28
JohnnyG24-Jul-02 10:28 
GeneralQuestion Mark Handling in ADO Pin
newlogsign24-Jul-02 9:52
newlogsign24-Jul-02 9:52 
QuestionHow do I prevent my application showing a button on the taskbar? Pin
adara24-Jul-02 8:09
adara24-Jul-02 8:09 
AnswerRe: How do I prevent my application showing a button on the taskbar? Pin
Ravi Bhavnani24-Jul-02 10:54
professionalRavi Bhavnani24-Jul-02 10:54 
AnswerRe: How do I prevent my application showing a button on the taskbar? Pin
J Patel24-Jul-02 10:57
J Patel24-Jul-02 10:57 
AnswerRe: How do I prevent my application showing a button on the taskbar? Pin
Paul M Watt24-Jul-02 20:02
mentorPaul M Watt24-Jul-02 20:02 
Generalmethod executing too many times Pin
mgriffith24-Jul-02 8:08
mgriffith24-Jul-02 8:08 
GeneralFonts Pin
Anonymous24-Jul-02 8:06
Anonymous24-Jul-02 8:06 
Questionerror LNK2001?? Pin
Jh324-Jul-02 7:11
Jh324-Jul-02 7:11 
AnswerRe: error LNK2001?? Pin
Le centriste24-Jul-02 8:03
Le centriste24-Jul-02 8:03 
Generalfind in vector !!! Pin
Hadi Rezaee24-Jul-02 6:31
Hadi Rezaee24-Jul-02 6:31 
GeneralRe: find in vector !!! Pin
Joaquín M López Muñoz24-Jul-02 6:35
Joaquín M López Muñoz24-Jul-02 6:35 
GeneralRe: find in vector !!! Pin
Hadi Rezaee24-Jul-02 7:09
Hadi Rezaee24-Jul-02 7:09 
GeneralRe: find in vector !!! Pin
Phil Boyd24-Jul-02 8:32
Phil Boyd24-Jul-02 8:32 

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.