Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 22:53
_Flaviu20-Sep-15 22:53 
GeneralRe: Shift + VK_LEFT Pin
Richard MacCutchan20-Sep-15 23:05
mveRichard MacCutchan20-Sep-15 23:05 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:15
_Flaviu20-Sep-15 23:15 
Question[SOLVED?] Using "this" pointer to "copy" pointer Pin
Vaclav_19-Sep-15 17:11
Vaclav_19-Sep-15 17:11 
AnswerRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan19-Sep-15 21:10
mveRichard MacCutchan19-Sep-15 21:10 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Vaclav_20-Sep-15 3:02
Vaclav_20-Sep-15 3:02 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 6:42
mveRichard MacCutchan20-Sep-15 6:42 
AnswerRe: [SOLVED?] Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 6:52
mveRichard MacCutchan20-Sep-15 6: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:
C++
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 16:57
Mohamed Nehad18-Sep-15 16:57 
AnswerRe: How to break an infinite loop Pin
Richard MacCutchan18-Sep-15 21:43
mveRichard MacCutchan18-Sep-15 21:43 
AnswerRe: How to break an infinite loop Pin
Fuseteam19-Sep-15 8:36
Fuseteam19-Sep-15 8:36 
QuestionDefine 'Enter' key in C Pin
Mohamed Nehad18-Sep-15 16:52
Mohamed Nehad18-Sep-15 16:52 
QuestionRe: Define 'Enter' key in C Pin
Richard MacCutchan18-Sep-15 21:44
mveRichard MacCutchan18-Sep-15 21:44 
AnswerRe: Define 'Enter' key in C Pin
Mohamed Nehad20-Sep-15 12:04
Mohamed Nehad20-Sep-15 12:04 
QuestionCall to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 3:49
dchabaud17-Sep-15 3:49 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:13
mveCPallini17-Sep-15 5:13 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 5:27
dchabaud17-Sep-15 5:27 
QuestionRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:32
mveCPallini17-Sep-15 5:32 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 20:57
dchabaud17-Sep-15 20:57 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 22:05
mveCPallini17-Sep-15 22:05 
Questionaccess violation with std::map (VS2015) Pin
Member 853403517-Sep-15 3:41
Member 853403517-Sep-15 3:41 
QuestionRe: access violation with std::map (VS2015) Pin
David Crow17-Sep-15 5:06
David Crow17-Sep-15 5:06 
QuestionRe: access violation with std::map (VS2015) Pin
CPallini17-Sep-15 5:09
mveCPallini17-Sep-15 5:09 
QuestionPassing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_16-Sep-15 11:31
Vaclav_16-Sep-15 11:31 
QuestionRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
CPallini16-Sep-15 21:09
mveCPallini16-Sep-15 21: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.