Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c Pin
Chris Losinger8-Apr-12 6:08
professionalChris Losinger8-Apr-12 6:08 
AnswerRe: c Pin
Wes Aday8-Apr-12 6:18
professionalWes Aday8-Apr-12 6:18 
AnswerRe: c Pin
enhzflep8-Apr-12 7:11
enhzflep8-Apr-12 7:11 
AnswerRe: c Pin
Stephen Hewitt8-Apr-12 21:34
Stephen Hewitt8-Apr-12 21:34 
AnswerRe: c Pin
scramjetter14-Apr-12 15:57
scramjetter14-Apr-12 15:57 
QuestionI want to write a code for dns redirect Pin
cosharp7-Apr-12 14:18
cosharp7-Apr-12 14:18 
QuestionRe: I want to write a code for dns redirect Pin
Randor 8-Apr-12 4:39
professional Randor 8-Apr-12 4:39 
QuestionPointers - help please Pin
jenbren7-Apr-12 12:24
jenbren7-Apr-12 12:24 
Hello World

I was wondering if someone could explain STEP BY STEP how pointers work. I know what they are but I'm having trouble conceptualizing different situations. For example, What does each of these do?

1. pointer1 = pointer2->next;

2. pointer4 = pointer1;

3. pointer4-> data = pointer1->data;

4. pointer4->next->data = pointer1->data


I dont really understand what "->" does or what it means. I also don't quite understand the concept of "next";. I would be so grateful if someone could break it down to the basics for me because I'm trying to move ahead in my data structures class but really can't wrap my brain around this.


Thanks in advance,
Jennifer
AnswerRe: Pointers - help please Pin
Maximilien7-Apr-12 13:41
Maximilien7-Apr-12 13:41 
GeneralRe: Pointers - help please Pin
jenbren7-Apr-12 15:05
jenbren7-Apr-12 15:05 
Question#define question Pin
_Flaviu7-Apr-12 0:36
_Flaviu7-Apr-12 0:36 
AnswerRe: #define question Pin
Richard MacCutchan7-Apr-12 1:36
mveRichard MacCutchan7-Apr-12 1:36 
AnswerRe: #define question Pin
Randor 7-Apr-12 6:51
professional Randor 7-Apr-12 6:51 
GeneralRe: #define question Pin
_Flaviu7-Apr-12 9:14
_Flaviu7-Apr-12 9:14 
GeneralRe: #define question Pin
Randor 7-Apr-12 19:25
professional Randor 7-Apr-12 19:25 
Questionline algorithm in borland c++ Pin
matarz6-Apr-12 13:31
matarz6-Apr-12 13:31 
AnswerRe: line algorithm in borland c++ Pin
David Crow6-Apr-12 15:31
David Crow6-Apr-12 15:31 
AnswerRe: line algorithm in borland c++ Pin
Luc Pattyn6-Apr-12 16:12
sitebuilderLuc Pattyn6-Apr-12 16:12 
Questionread/writing Linked List to a random access file in c++ Pin
djgmad6-Apr-12 12:47
djgmad6-Apr-12 12:47 
AnswerRe: read/writing Linked List to a random access file in c++ Pin
David Crow6-Apr-12 15:34
David Crow6-Apr-12 15:34 
GeneralRe: read/writing Linked List to a random access file in c++ Pin
djgmad8-Apr-12 3:04
djgmad8-Apr-12 3:04 
GeneralRe: read/writing Linked List to a random access file in c++ Pin
David Crow8-Apr-12 16:28
David Crow8-Apr-12 16:28 
AnswerRe: read/writing Linked List to a random access file in c++ Pin
Richard MacCutchan6-Apr-12 22:01
mveRichard MacCutchan6-Apr-12 22:01 
GeneralRe: read/writing Linked List to a random access file in c++ Pin
djgmad8-Apr-12 3:09
djgmad8-Apr-12 3:09 
GeneralRe: read/writing Linked List to a random access file in c++ Pin
Richard MacCutchan8-Apr-12 6:01
mveRichard MacCutchan8-Apr-12 6:01 

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.