Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDisk Full Error Pin
john56323-Apr-11 23:31
john56323-Apr-11 23:31 
AnswerRe: Disk Full Error Pin
enhzflep4-Apr-11 0:23
enhzflep4-Apr-11 0:23 
AnswerRe: Disk Full Error Pin
Luc Pattyn4-Apr-11 1:27
sitebuilderLuc Pattyn4-Apr-11 1:27 
AnswerRe: Disk Full Error Pin
Maximilien4-Apr-11 3:48
Maximilien4-Apr-11 3:48 
QuestionHow to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu3-Apr-11 22:02
_Flaviu3-Apr-11 22:02 
QuestionRe: How to get nChar ( keycode ) from TCHAR ? Pin
CPallini3-Apr-11 22:41
mveCPallini3-Apr-11 22:41 
AnswerRe: How to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu3-Apr-11 23:37
_Flaviu3-Apr-11 23:37 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
CPallini3-Apr-11 23:53
mveCPallini3-Apr-11 23:53 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu4-Apr-11 0:31
_Flaviu4-Apr-11 0:31 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
CPallini4-Apr-11 0:28
mveCPallini4-Apr-11 0:28 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu4-Apr-11 0:49
_Flaviu4-Apr-11 0:49 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
CPallini4-Apr-11 1:51
mveCPallini4-Apr-11 1:51 
AnswerRe: How to get nChar ( keycode ) from TCHAR ? Pin
Stefan_Lang4-Apr-11 0:28
Stefan_Lang4-Apr-11 0:28 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu4-Apr-11 0:33
_Flaviu4-Apr-11 0:33 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
_Flaviu4-Apr-11 1:02
_Flaviu4-Apr-11 1:02 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
Stefan_Lang4-Apr-11 22:34
Stefan_Lang4-Apr-11 22:34 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
David Crow4-Apr-11 10:52
David Crow4-Apr-11 10:52 
GeneralRe: How to get nChar ( keycode ) from TCHAR ? Pin
Stefan_Lang4-Apr-11 22:27
Stefan_Lang4-Apr-11 22:27 
Questionproblem with print valu Pin
a1_shay3-Apr-11 19:58
a1_shay3-Apr-11 19:58 
AnswerRe: problem with print valu Pin
Niklas L3-Apr-11 21:22
Niklas L3-Apr-11 21:22 
GeneralRe: problem with print valu Pin
a1_shay3-Apr-11 21:39
a1_shay3-Apr-11 21:39 
GeneralRe: problem with print valu Pin
Niklas L3-Apr-11 22:18
Niklas L3-Apr-11 22:18 
AnswerRe: problem with print valu Pin
Stefan_Lang4-Apr-11 4:43
Stefan_Lang4-Apr-11 4:43 
The problem is that
int push(Node *poll, int hez, int mek)
passes the pointer poll by value, not by reference. The assignment poll=node; is valid within push(), but the change will not be passed to the caller. As a result, after calling push() the pointer poll in main will still point to the memory location of your first node, but this node was already freed. The newly created node will be lost, as you failed to pass the pointer back to main. Your print statement accesses poll->size which is now undefined and can have any arbitrary value.
GeneralRe: problem with print valu Pin
a1_shay4-Apr-11 5:23
a1_shay4-Apr-11 5:23 
Questionread function address Pin
so0_lanhlung23-Apr-11 4:57
so0_lanhlung23-Apr-11 4:57 

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.