Click here to Skip to main content
14,732,620 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:53
Member_Flaviu20-Sep-15 23:53 
GeneralRe: Shift + VK_LEFT Pin
Richard MacCutchan21-Sep-15 0:05
mveRichard MacCutchan21-Sep-15 0:05 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu21-Sep-15 0:15
Member_Flaviu21-Sep-15 0:15 
Question[SOLVED?] Using "this" pointer to "copy" pointer Pin
Vaclav_19-Sep-15 18:11
MemberVaclav_19-Sep-15 18:11 
AnswerRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan19-Sep-15 22:10
mveRichard MacCutchan19-Sep-15 22:10 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Vaclav_20-Sep-15 4:02
MemberVaclav_20-Sep-15 4:02 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 7:42
mveRichard MacCutchan20-Sep-15 7:42 
AnswerRe: [SOLVED?] Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 7:52
mveRichard MacCutchan20-Sep-15 7:52 
Vaclav_Sal wrote:
Apparently compiler does not like to have both constructor and class variable names to be same
Not true, it does not matter. That is why you need to use the this pointer, so the compiler knows which variable you are referring to. Consider the following:
Class Foo
{
    int var1;

    foo(int var1)
    {
        var1 = var1; // referring only to the parameter var1
        this->var1 = var1; // now it knows that the first one is the class variable.
    }

None of which has any relevance to the issue you are describing. Forget about what goes on in the constructor, it is not connected to the probelm. You need to go back to the documentation and check carefully the definition of the TFT_LCD::LCD_Write_COM_DATA_t method.
QuestionHow to break an infinite loop Pin
Mohamed Nehad18-Sep-15 17:57
MemberMohamed Nehad18-Sep-15 17:57 
AnswerRe: How to break an infinite loop Pin
Richard MacCutchan18-Sep-15 22:43
mveRichard MacCutchan18-Sep-15 22:43 
AnswerRe: How to break an infinite loop Pin
Fuseteam19-Sep-15 9:36
MemberFuseteam19-Sep-15 9:36 
QuestionDefine 'Enter' key in C Pin
Mohamed Nehad18-Sep-15 17:52
MemberMohamed Nehad18-Sep-15 17:52 
QuestionRe: Define 'Enter' key in C Pin
Richard MacCutchan18-Sep-15 22:44
mveRichard MacCutchan18-Sep-15 22:44 
AnswerRe: Define 'Enter' key in C Pin
Mohamed Nehad20-Sep-15 13:04
MemberMohamed Nehad20-Sep-15 13:04 
QuestionCall to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 4:49
Memberdchabaud17-Sep-15 4:49 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 6:13
mveCPallini17-Sep-15 6:13 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 6:27
Memberdchabaud17-Sep-15 6:27 
QuestionRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 6:32
mveCPallini17-Sep-15 6:32 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 21:57
Memberdchabaud17-Sep-15 21:57 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 23:05
mveCPallini17-Sep-15 23:05 
Questionaccess violation with std::map (VS2015) Pin
Member 853403517-Sep-15 4:41
MemberMember 853403517-Sep-15 4:41 
QuestionRe: access violation with std::map (VS2015) Pin
David Crow17-Sep-15 6:06
MemberDavid Crow17-Sep-15 6:06 
QuestionRe: access violation with std::map (VS2015) Pin
CPallini17-Sep-15 6:09
mveCPallini17-Sep-15 6:09 
QuestionPassing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_16-Sep-15 12:31
MemberVaclav_16-Sep-15 12:31 
QuestionRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
CPallini16-Sep-15 22:09
mveCPallini16-Sep-15 22:09 

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.