Click here to Skip to main content
15,886,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How to use One Pointer Object in another .cpp file? [modified] Pin
002comp14-Apr-11 1:35
002comp14-Apr-11 1:35 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin15-Apr-11 4:35
professionalAlbert Holguin15-Apr-11 4:35 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang14-Apr-11 7:02
Stefan_Lang14-Apr-11 7:02 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin14-Apr-11 14:43
professionalAlbert Holguin14-Apr-11 14:43 
GeneralRe: How to use One Pointer Object in another .cpp file? [modified] Pin
002comp14-Apr-11 21:14
002comp14-Apr-11 21:14 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang14-Apr-11 23:18
Stefan_Lang14-Apr-11 23:18 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
002comp15-Apr-11 2:24
002comp15-Apr-11 2:24 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang15-Apr-11 4:42
Stefan_Lang15-Apr-11 4:42 

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.