Click here to Skip to main content
15,914,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLibrary Conflict Pin
MK7828-Jun-05 21:34
MK7828-Jun-05 21:34 
GeneralRe: Library Conflict Pin
oustar29-Jun-05 0:04
oustar29-Jun-05 0:04 
GeneralRe: Library Conflict Pin
Blake V. Miller29-Jun-05 19:05
Blake V. Miller29-Jun-05 19:05 
QuestionCan CSocket comunicate with the Palm Client? Pin
javaClaude28-Jun-05 21:30
javaClaude28-Jun-05 21:30 
AnswerRe: Can CSocket comunicate with the Palm Client? Pin
GDavy28-Jun-05 23:04
GDavy28-Jun-05 23:04 
GeneralLinked list Pin
LiYS28-Jun-05 21:28
LiYS28-Jun-05 21:28 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 21:47
Yulianto.28-Jun-05 21:47 
GeneralRe: Linked list Pin
LiYS28-Jun-05 21:57
LiYS28-Jun-05 21:57 
Yulianto. wrote:

void initialize(link * head, int nCount)
{
head->a = 0;
for (int i = 0; i < nCount; i++)
{
link *tmp = new link;
tmp->i+1;
head->next=tmp;
head=tmp;
}
}


Thanks but it didn't works out, and each link holds a invalid "a", in addition "head" is not head after the execution, I guess.

After testing, I found my initialize(...) seems to work, I still can't figure out exactly how? D'Oh! | :doh:
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:05
Yulianto.28-Jun-05 22:05 
GeneralRe: Linked list Pin
LiYS28-Jun-05 22:14
LiYS28-Jun-05 22:14 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:19
Yulianto.28-Jun-05 22:19 
GeneralRe: Linked list Pin
LiYS30-Jun-05 16:59
LiYS30-Jun-05 16:59 
GeneralRe: Linked list Pin
LiYS28-Jun-05 22:43
LiYS28-Jun-05 22:43 
GeneralRe: Linked list Pin
Yulianto.28-Jun-05 22:56
Yulianto.28-Jun-05 22:56 
GeneralRe: Linked list Pin
John R. Shaw29-Jun-05 8:19
John R. Shaw29-Jun-05 8:19 
GeneralRe: Linked list Pin
David Crow30-Jun-05 3:47
David Crow30-Jun-05 3:47 
GeneralRe: Linked list Pin
LiYS30-Jun-05 17:00
LiYS30-Jun-05 17:00 
GeneralEmbedding tiff in pdf Pin
Chathan28-Jun-05 21:18
Chathan28-Jun-05 21:18 
GeneralProgramFiles Pin
sunit528-Jun-05 21:15
sunit528-Jun-05 21:15 
GeneralRe: ProgramFiles Pin
oustar29-Jun-05 0:14
oustar29-Jun-05 0:14 
GeneralRe: ProgramFiles Pin
David Crow30-Jun-05 3:50
David Crow30-Jun-05 3:50 
QuestionOpening files within a webview without download dialog? Pin
retro_coder28-Jun-05 20:53
retro_coder28-Jun-05 20:53 
GeneralBio- Powered DLL ?? :o Pin
_kane_28-Jun-05 20:36
_kane_28-Jun-05 20:36 
GeneralRe: Bio- Powered DLL ?? :o Pin
Christian Graus28-Jun-05 20:40
protectorChristian Graus28-Jun-05 20:40 
Generala problem!!!! Pin
smartymanav28-Jun-05 20:17
smartymanav28-Jun-05 20:17 

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.