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

C / C++ / MFC

 
GeneralRe: Build Error - Creating a DirectSound secondary buffer Pin
Paul Hasler15-Apr-11 5:19
Paul Hasler15-Apr-11 5:19 
GeneralRe: Build Error - Creating a DirectSound secondary buffer Pin
Richard MacCutchan15-Apr-11 6:01
mveRichard MacCutchan15-Apr-11 6:01 
GeneralRe: Build Error - Creating a DirectSound secondary buffer Pin
Paul Hasler15-Apr-11 6:48
Paul Hasler15-Apr-11 6:48 
GeneralRe: Build Error - Creating a DirectSound secondary buffer Pin
Richard MacCutchan15-Apr-11 7:26
mveRichard MacCutchan15-Apr-11 7:26 
QuestionMultiple selection in CListCtrl?? Pin
Arrin15-Apr-11 0:29
Arrin15-Apr-11 0:29 
AnswerRe: Multiple selection in CListCtrl?? Pin
Hans Dietrich15-Apr-11 5:13
mentorHans Dietrich15-Apr-11 5:13 
GeneralRe: Multiple selection in CListCtrl?? Pin
Arrin6-May-11 0:35
Arrin6-May-11 0:35 
QuestionGrid Control allow to add any other control Pin
James Duy Trinh (VietDoor)14-Apr-11 20:39
James Duy Trinh (VietDoor)14-Apr-11 20:39 
AnswerRe: Grid Control allow to add any other control Pin
వేంకటనారాయణ(venkatmakam)14-Apr-11 21:31
వేంకటనారాయణ(venkatmakam)14-Apr-11 21:31 
AnswerRe: Grid Control allow to add any other control Pin
Code-o-mat14-Apr-11 22:43
Code-o-mat14-Apr-11 22:43 
QuestionQt - What do we mean by those code snippets [modified] Pin
Abder_Rahman14-Apr-11 1:37
Abder_Rahman14-Apr-11 1:37 
AnswerRe: Qt - What do we mean by those code snippets Pin
MicroVirus14-Apr-11 1:50
MicroVirus14-Apr-11 1:50 
GeneralRe: Qt - What do we mean by those code snippets [modified] Pin
Abder_Rahman14-Apr-11 1:55
Abder_Rahman14-Apr-11 1:55 
GeneralRe: Qt - What do we mean by those code snippets Pin
MicroVirus14-Apr-11 2:18
MicroVirus14-Apr-11 2:18 
GeneralRe: Qt - What do we mean by those code snippets Pin
Abder_Rahman14-Apr-11 22:21
Abder_Rahman14-Apr-11 22:21 
GeneralRe: Qt - What do we mean by those code snippets Pin
MicroVirus15-Apr-11 0:32
MicroVirus15-Apr-11 0:32 
What I was referring to is that "the 'this' keyword refers to an instance of class A".
Sort of like A* this. When you then want the value of int a for that instance, you dereference the pointer and access a: this->a.
But because the compiler is smart, it'll also understand what you want if you simply write 'a' and omit the 'this->' part.

The reason I used a bit more confusing way of saying it (maybe), is that I wanted to make clear distinction between the class A and an instance of class A.
This distinction particularly comes into play when statics are involved (the telling difference is that there is no 'this' in that case, because you're not talking about instances of A when you're inside a static function using static variables).

Hope this makes it more clear. If not, feel free to ask more questions Smile | :)
AnswerRe: Qt - What do we mean by those code snippets Pin
David Crow14-Apr-11 10:00
David Crow14-Apr-11 10:00 
QuestionHow can I treat VT_DATE ? Pin
_Flaviu13-Apr-11 23:44
_Flaviu13-Apr-11 23:44 
AnswerRe: How can I treat VT_DATE ? Pin
CPallini13-Apr-11 23:58
mveCPallini13-Apr-11 23:58 
GeneralRe: How can I treat VT_DATE ? Pin
_Flaviu14-Apr-11 0:05
_Flaviu14-Apr-11 0:05 
GeneralRe: How can I treat VT_DATE ? Pin
CPallini14-Apr-11 0:15
mveCPallini14-Apr-11 0:15 
GeneralRe: How can I treat VT_DATE ? Pin
_Flaviu14-Apr-11 0:26
_Flaviu14-Apr-11 0:26 
AnswerRe: How can I treat VT_DATE ? Pin
T210215-Apr-11 10:47
T210215-Apr-11 10:47 
QuestionHow to use One Pointer Object in another .cpp file? Pin
002comp13-Apr-11 23:44
002comp13-Apr-11 23:44 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
«_Superman_»14-Apr-11 0:44
professional«_Superman_»14-Apr-11 0:44 

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.