Click here to Skip to main content
15,892,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: waveOut incoming UDP-packets Pin
kk30034-Oct-06 12:46
kk30034-Oct-06 12:46 
Questionproblems with datetimepicker Pin
deleteaccountdelete4-Oct-06 11:12
deleteaccountdelete4-Oct-06 11:12 
AnswerRe: problems with datetimepicker Pin
Mark Salsbery4-Oct-06 12:03
Mark Salsbery4-Oct-06 12:03 
GeneralRe: problems with datetimepicker Pin
deleteaccountdelete4-Oct-06 22:55
deleteaccountdelete4-Oct-06 22:55 
GeneralRe: problems with datetimepicker Pin
Mark Salsbery5-Oct-06 6:32
Mark Salsbery5-Oct-06 6:32 
AnswerRe: problems with datetimepicker Pin
David Crow5-Oct-06 3:33
David Crow5-Oct-06 3:33 
GeneralRe: problems with datetimepicker Pin
deleteaccountdelete5-Oct-06 6:47
deleteaccountdelete5-Oct-06 6:47 
GeneralVS .net 2005 debugger defect Pin
ky_rerun4-Oct-06 10:48
ky_rerun4-Oct-06 10:48 
we found a defect do to a typo today check out this code

#include <iostream>
using namespace std;
class Test
{
public:
string m_sUserID;
string m_sUserId;
};
int main(int argc, char ** argv)
{
Test A;

A.m_sUserId = "lower";
A.m_sUserID = "Upper";

printf("m_sUserId : %s m_sUserID : %s " , A.m_sUserId.c_str(),A.m_sUserID.c_str());

return 0;
}

if you use intelisence you will notice that intelisence will only show you two variable associated with class test m_sUserId and m_s if you break the program before it exits and use the hover over feature or the watch window the debugger thinks the members have the same value.

There is no need to comment that it is bad form to mix case in variable names it was an accident.



a programmer traped in a thugs body

GeneralRe: VS .net 2005 debugger defect Pin
Nish Nishant4-Oct-06 11:02
sitebuilderNish Nishant4-Oct-06 11:02 
GeneralRe: VS .net 2005 debugger defect Pin
Link20064-Oct-06 15:38
Link20064-Oct-06 15:38 
QuestionRe: nafxcw.lib - linker error Pin
mla1544-Oct-06 8:35
mla1544-Oct-06 8:35 
AnswerRe: nafxcw.lib - linker error Pin
Hamid_RT4-Oct-06 9:18
Hamid_RT4-Oct-06 9:18 
GeneralRe: nafxcw.lib - linker error Pin
mla1544-Oct-06 9:44
mla1544-Oct-06 9:44 
GeneralRe: nafxcw.lib - linker error Pin
Link20064-Oct-06 15:53
Link20064-Oct-06 15:53 
GeneralRe: nafxcw.lib - linker error Pin
mla1545-Oct-06 3:11
mla1545-Oct-06 3:11 
GeneralRe: nafxcw.lib - linker error Pin
Hamid_RT4-Oct-06 19:18
Hamid_RT4-Oct-06 19:18 
QuestionChanging color of text in edit control Pin
LCI4-Oct-06 8:29
LCI4-Oct-06 8:29 
AnswerRe: Changing color of text in edit control Pin
Nish Nishant4-Oct-06 8:55
sitebuilderNish Nishant4-Oct-06 8:55 
AnswerRe: Changing color of text in edit control Pin
Mark Salsbery4-Oct-06 8:57
Mark Salsbery4-Oct-06 8:57 
AnswerRe: Changing color of text in edit control Pin
Hamid_RT4-Oct-06 9:10
Hamid_RT4-Oct-06 9:10 
QuestionWeird MFC problem Pin
Johpoke4-Oct-06 7:55
Johpoke4-Oct-06 7:55 
AnswerRe: Weird MFC problem Pin
ThatsAlok4-Oct-06 7:59
ThatsAlok4-Oct-06 7:59 
AnswerRe: Weird MFC problem Pin
Mark Salsbery4-Oct-06 8:35
Mark Salsbery4-Oct-06 8:35 
GeneralRe: Weird MFC problem Pin
Johpoke4-Oct-06 8:42
Johpoke4-Oct-06 8:42 
GeneralRe: Weird MFC problem Pin
Mark Salsbery4-Oct-06 9:03
Mark Salsbery4-Oct-06 9:03 

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.