Click here to Skip to main content
16,011,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC CString 4.0 vs MFC CString 6.0 Pin
Erik Funkenbusch28-Dec-00 13:02
Erik Funkenbusch28-Dec-00 13:02 
GeneralMissing messages Pin
28-Dec-00 1:40
suss28-Dec-00 1:40 
GeneralAnyone knows how to write into Output toolbar (something like TRACE does only in some other tab like Result) of MSVC++ Pin
27-Dec-00 21:30
suss27-Dec-00 21:30 
GeneralRe: Anyone knows how to write into Output toolbar (something like TRACE does only in some other tab like Result) of MSVC++ Pin
J Patel3-Jan-01 5:43
J Patel3-Jan-01 5:43 
QuestionWhat are pointers for??? Pin
27-Dec-00 15:09
suss27-Dec-00 15:09 
AnswerRe: What are pointers for??? Pin
Tim Deveaux28-Dec-00 4:21
Tim Deveaux28-Dec-00 4:21 
AnswerRe: What are pointers for??? Pin
Alvaro Mendez28-Dec-00 5:23
Alvaro Mendez28-Dec-00 5:23 
AnswerRe: What are pointers for??? Pin
Erik Funkenbusch28-Dec-00 13:09
Erik Funkenbusch28-Dec-00 13:09 
Rather than a technical answer, I'll answer your question in a different way.

You can consider a pointer to be a reference (don't confuse this with C++ references). Now, suppose you were writing a paper on some subject and needed references to your data. What do you do? Usually you include a bibliography which merely gives information on how to find the actual data rather than listing the data itself (which could be quite volumous).

pointers work the same way. Rather than using the volumous data itself, you are simply using a reference to that data which "points" to the data.

This has some interesting side-effects which make programming easier. For instance, you can take a complex expression and refer to it simply by a pointer to that expression. example: char *p = this->that->somethingelse->whilestandingonyourhead->my_string.

Now you need only refer to p, rather than the long reference.

AnswerRe: What are pointers for??? Pin
29-Dec-00 0:02
suss29-Dec-00 0:02 
Generalat the risk of getting boring... Pin
l a u r e n27-Dec-00 4:46
l a u r e n27-Dec-00 4:46 
GeneralAceesing Structure From VC++\VB client To VC++ server Pin
27-Dec-00 2:44
suss27-Dec-00 2:44 
GeneralRe: Aceesing Structure From VC++\VB client To VC++ server Pin
l a u r e n27-Dec-00 4:48
l a u r e n27-Dec-00 4:48 
GeneralCListCtrl Questions - Again... Pin
#realJSOP27-Dec-00 1:47
professional#realJSOP27-Dec-00 1:47 
GeneralRe: CListCtrl Questions - Again... Pin
Alberto Bar-Noy27-Dec-00 2:05
Alberto Bar-Noy27-Dec-00 2:05 
GeneralRe: CListCtrl Questions - Again... Pin
l a u r e n27-Dec-00 4:52
l a u r e n27-Dec-00 4:52 
Questionhow can convert CEditView to CRichEditView? Pin
kykim26-Dec-00 20:28
kykim26-Dec-00 20:28 
GeneralAvi animatectl Pin
26-Dec-00 12:30
suss26-Dec-00 12:30 
GeneralRe: Avi animatectl Pin
Masoud Samimi26-Dec-00 13:15
Masoud Samimi26-Dec-00 13:15 
GeneralRe: Avi animatectl Pin
26-Dec-00 14:13
suss26-Dec-00 14:13 
GeneralRe: Avi animatectl Pin
Masoud Samimi27-Dec-00 18:16
Masoud Samimi27-Dec-00 18:16 
GeneralRe: Avi animatectl Pin
28-Dec-00 2:09
suss28-Dec-00 2:09 
GeneralRe: Avi animatectl Pin
Masoud Samimi28-Dec-00 2:29
Masoud Samimi28-Dec-00 2:29 
GeneralRe: Avi animatectl Pin
28-Dec-00 3:44
suss28-Dec-00 3:44 
GeneralRe: Avi animatectl Pin
Jim Howard3-Jan-01 10:25
Jim Howard3-Jan-01 10:25 
GeneralAsp and thumbnail Pin
26-Dec-00 2:37
suss26-Dec-00 2:37 

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.