Click here to Skip to main content
15,881,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to assign to array? Pin
milestanley24-Dec-09 15:44
milestanley24-Dec-09 15:44 
AnswerRe: How to assign to array? Pin
includeh1024-Dec-09 18:27
includeh1024-Dec-09 18:27 
GeneralRe: How to assign to array? Pin
Tim Craig24-Dec-09 20:43
Tim Craig24-Dec-09 20:43 
AnswerRe: How to assign to array? Pin
«_Superman_»25-Dec-09 2:43
professional«_Superman_»25-Dec-09 2:43 
QuestionLinked Lists. Pin
Razanust24-Dec-09 7:47
Razanust24-Dec-09 7:47 
AnswerRe: Linked Lists. Pin
Chris Losinger24-Dec-09 8:58
professionalChris Losinger24-Dec-09 8:58 
AnswerRe: Linked Lists. Pin
includeh1024-Dec-09 18:50
includeh1024-Dec-09 18:50 
AnswerRe: Linked Lists. Pin
Bram van Kampen27-Dec-09 12:56
Bram van Kampen27-Dec-09 12:56 
Hi,

In your code, 'curr' is at all times the item you are currently looking at, I assume tat that's why you called it 'curr'

curr=curr->next, advances your pointer. So, after that statement, curr points at the next item of your list.

In that way, your printf will print each value in your list, by starting at the head, and then by iterating thru the list items.

BTW Was this a School Assignment? Surely looks like one.
Smile | :)

Bram van Kampen

QuestionSize of the Message loop Pin
vc++_fragrance23-Dec-09 23:14
vc++_fragrance23-Dec-09 23:14 
AnswerRe: Size of the Message loop Pin
CPallini23-Dec-09 23:50
mveCPallini23-Dec-09 23:50 
GeneralRe: Size of the Message loop Pin
Richard MacCutchan24-Dec-09 0:01
mveRichard MacCutchan24-Dec-09 0:01 
GeneralRe: Size of the Message loop Pin
CPallini24-Dec-09 0:19
mveCPallini24-Dec-09 0:19 
GeneralRe: Size of the Message loop Pin
Richard MacCutchan24-Dec-09 0:59
mveRichard MacCutchan24-Dec-09 0:59 
GeneralRe: Size of the Message loop Pin
Chris Meech24-Dec-09 2:16
Chris Meech24-Dec-09 2:16 
GeneralRe: Size of the Message loop Pin
Rajesh R Subramanian24-Dec-09 2:33
professionalRajesh R Subramanian24-Dec-09 2:33 
GeneralRe: Size of the Message loop Pin
Chris Meech24-Dec-09 2:47
Chris Meech24-Dec-09 2:47 
AnswerRe: Size of the Message loop Pin
Richard MacCutchan23-Dec-09 23:59
mveRichard MacCutchan23-Dec-09 23:59 
AnswerRe: Size of the Message loop Pin
Rajesh R Subramanian24-Dec-09 2:21
professionalRajesh R Subramanian24-Dec-09 2:21 
Questionerror "a required resource was unavailable". Pin
Le@rner23-Dec-09 22:41
Le@rner23-Dec-09 22:41 
Questionpassing a variable inside thread Pin
Le@rner23-Dec-09 18:46
Le@rner23-Dec-09 18:46 
AnswerRe: passing a variable inside thread Pin
Adam Roderick J23-Dec-09 18:59
Adam Roderick J23-Dec-09 18:59 
GeneralRe: passing a variable inside thread Pin
Rajesh R Subramanian23-Dec-09 21:57
professionalRajesh R Subramanian23-Dec-09 21:57 
QuestionRe: passing a variable inside thread Pin
CPallini23-Dec-09 22:25
mveCPallini23-Dec-09 22:25 
AnswerRe: passing a variable inside thread Pin
Rajesh R Subramanian23-Dec-09 22:32
professionalRajesh R Subramanian23-Dec-09 22:32 
GeneralRe: passing a variable inside thread Pin
Adam Roderick J23-Dec-09 22:39
Adam Roderick J23-Dec-09 22:39 

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.