Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stack overflow Pin
Mark Salsbery10-Dec-07 7:20
Mark Salsbery10-Dec-07 7:20 
GeneralRe: Stack overflow Pin
RomTibi10-Dec-07 8:38
RomTibi10-Dec-07 8:38 
QuestionHow to Find out what was selected in Combo Box Pin
Larry Mills Sr9-Dec-07 4:28
Larry Mills Sr9-Dec-07 4:28 
AnswerRe: How to Find out what was selected in Combo Box Pin
Hamid_RT9-Dec-07 6:25
Hamid_RT9-Dec-07 6:25 
AnswerRe: How to Find out what was selected in Combo Box Pin
Mark Salsbery9-Dec-07 7:09
Mark Salsbery9-Dec-07 7:09 
AnswerRe: How to Find out what was selected in Combo Box Pin
ddspliting10-Dec-07 6:53
ddspliting10-Dec-07 6:53 
GeneralFrom Mpeg-2 to Vob Pin
mjmim9-Dec-07 3:59
mjmim9-Dec-07 3:59 
Answerabout const member function Pin
clj198705039-Dec-07 1:07
clj198705039-Dec-07 1:07 
class Text {
public:
void bad( const string &parm ) const;
private:
char *_text;
};

void Text::bad( const string &parm ) const
{
_text = parm.c_str(); // error: _text cannot be modified

for ( int ix = 0; ix < parm.size(); ++ix )
_text[ix] = parm[ix]; // bad style but not an error
}

this example show a pointer refer change a data member in the
const member function , why?
GeneralRe: about const member function Pin
super_ttd9-Dec-07 2:51
super_ttd9-Dec-07 2:51 
GeneralRe: about const member function Pin
Steen Krogsgaard9-Dec-07 22:29
Steen Krogsgaard9-Dec-07 22:29 
Questionproblem in code running on msvs2008 c++ while same logic runs fine on turbo c++ 3.0 Pin
ashjas8-Dec-07 23:27
ashjas8-Dec-07 23:27 
GeneralRe: problem in code running on msvs2008 c++ while same logic runs fine on turbo c++ 3.0 Pin
ashjas8-Dec-07 23:33
ashjas8-Dec-07 23:33 
GeneralRe: problem in code running on msvs2008 c++ while same logic runs fine on turbo c++ 3.0 Pin
normanS9-Dec-07 0:53
normanS9-Dec-07 0:53 
GeneralRe: problem in code running on msvs2008 c++ while same logic runs fine on turbo c++ 3.0 Pin
markkuk9-Dec-07 2:18
markkuk9-Dec-07 2:18 
GeneralRe: problem in code running on msvs2008 c++ while same logic runs fine on turbo c++ 3.0 Pin
ashjas9-Dec-07 4:15
ashjas9-Dec-07 4:15 
Questionfind error Pin
keyto8-Dec-07 20:08
keyto8-Dec-07 20:08 
GeneralRe: find error Pin
David Crow14-Mar-08 6:00
David Crow14-Mar-08 6:00 
GeneralDialogBox question Pin
KellyR8-Dec-07 8:47
KellyR8-Dec-07 8:47 
GeneralRe: DialogBox question Pin
Mark Salsbery8-Dec-07 9:25
Mark Salsbery8-Dec-07 9:25 
GeneralRe: DialogBox question Pin
KellyR8-Dec-07 9:37
KellyR8-Dec-07 9:37 
GeneralGDI+ trailing spaces and newline Pin
bob169728-Dec-07 5:59
bob169728-Dec-07 5:59 
GeneralWindow Styles Pin
Giorgi Dalakishvili8-Dec-07 4:32
mentorGiorgi Dalakishvili8-Dec-07 4:32 
GeneralRe: Window Styles Pin
Mark Salsbery8-Dec-07 6:23
Mark Salsbery8-Dec-07 6:23 
QuestionC++ resource file Pin
Somaiia7-Dec-07 21:44
Somaiia7-Dec-07 21:44 
GeneralRe: C++ resource file Pin
Mark Salsbery8-Dec-07 6:30
Mark Salsbery8-Dec-07 6:30 

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.