Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to develop my own language Pin
Richard MacCutchan5-May-13 5:14
mveRichard MacCutchan5-May-13 5:14 
AnswerRe: how to develop my own language Pin
H.Brydon5-May-13 16:57
professionalH.Brydon5-May-13 16:57 
QuestionQuestion about the return value of windows procedure [solved] Pin
econy3-May-13 7:43
econy3-May-13 7:43 
AnswerRe: Question about the return value of windows procedure Pin
Chris Losinger3-May-13 8:00
professionalChris Losinger3-May-13 8:00 
QuestionPointer to object doesn't point to any thing !!!!!! Pin
OmarSH3-May-13 0:02
OmarSH3-May-13 0:02 
AnswerRe: Pointer to object doesn't point to any thing !!!!!! Pin
Jonathan Davies3-May-13 0:26
Jonathan Davies3-May-13 0:26 
AnswerRe: Pointer to object doesn't point to any thing !!!!!! Pin
Richard MacCutchan3-May-13 0:57
mveRichard MacCutchan3-May-13 0:57 
AnswerRe: Pointer to object doesn't point to any thing !!!!!! Pin
CPallini3-May-13 10:33
mveCPallini3-May-13 10:33 
Like any other uninitialized variable, an uninitialized pointer contains garbage (or, in other words, points to garbage).
In the shown code, head is initialized with NULL to mark the list as empty, it is responsibility of appendNode (or insertNode) implementation to allocate a fresh ListNode and make head pointing to it.
Veni, vidi, vici.

GeneralRe: Pointer to object doesn't point to any thing !!!!!! Pin
sarvanik4-May-13 5:03
sarvanik4-May-13 5:03 
GeneralRe: Pointer to object doesn't point to any thing !!!!!! Pin
sarvanik4-May-13 5:35
sarvanik4-May-13 5:35 
GeneralRe: Pointer to object doesn't point to any thing !!!!!! Pin
CPallini4-May-13 10:05
mveCPallini4-May-13 10:05 
QuestionIs there any way a C/C++ program can crash before main()? Pin
mbatra312-May-13 22:26
mbatra312-May-13 22:26 
AnswerRe: Any situation where a program will fail to compile before coming to main in C++.? Pin
yoaz2-May-13 22:47
yoaz2-May-13 22:47 
GeneralRe: Any situation where a program will fail to compile before coming to main in C++.? Pin
mbatra312-May-13 23:10
mbatra312-May-13 23:10 
GeneralRe: Any situation where a program will fail to compile before coming to main in C++.? Pin
Richard MacCutchan3-May-13 0:54
mveRichard MacCutchan3-May-13 0:54 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
pasztorpisti3-May-13 4:25
pasztorpisti3-May-13 4:25 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
solookin3-May-13 4:48
professionalsolookin3-May-13 4:48 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
Amarnath S3-May-13 5:04
professionalAmarnath S3-May-13 5:04 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
Vijjuuu.7-May-13 2:33
Vijjuuu.7-May-13 2:33 
QuestionQuerries about DXF file Pin
hrishtech2-May-13 19:29
hrishtech2-May-13 19:29 
AnswerRe: Querries about DXF file Pin
Jonathan Davies3-May-13 1:41
Jonathan Davies3-May-13 1:41 
QuestionHow to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 19:04
002comp2-May-13 19:04 
AnswerRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
Coder Block2-May-13 19:31
Coder Block2-May-13 19:31 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 19:45
002comp2-May-13 19:45 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
Coder Block2-May-13 19:51
Coder Block2-May-13 19:51 

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.