struct pointer initialization
biguo@263.net
biguo@263.net
Fri Jul 9 06:49:00 GMT 1999
hello,everyone!I find some problem in following statements :
the_block= (struct Heap_Block *)0xdd800;
the_block->back_flag = 1;
the_block->front_flag = 0x22800;
the_block->next=(struct Heap_Block *)0;
the_block->previous=(struct Heap_Block *)0;
In first statement,struct pointer the_block is pointed to address 0xdd800.But the four elements of struct the_block can't be initialized.Their contents all are 0xffffffff.The above initial statements has no effect on the content of four element.It result in failure in work space initialization.How to solve it?Thanks in advance for any help.
_____________________________________________
ÃÂÃÂöüÃÂÃÂÃÂÃÂ--ÃÂÃÂýøÃÂÃÂùúÃÂÃÂõÃÂÃÂøÃÂÃÂüÃÂÃÂð http://www.263.net
ÃÂâ÷ÃÂÃÂÃÂÃÂä ÃÂÃÂüþÃÂÃÂÃÂþ ÃÂéÃÂûÃÂÃÂüþ ÃÂÃÂüþüÃÂÃÂàÃÂÃÂüþÃÂ÷ÃÂÃÂúô
ÃÂÃÂÃÂ÷ÃÂýÃÂæ øöÃÂÃÂÃÂþõã ÃÂÃÂÃÂÃÂÃÂÃÂÃÂ÷ ÃÂøÃÂÃÂÃÂÃÂÃÂì ÃÂøÃÂÃÂùÃÂúÃÂ
ýðÃÂÃÂÃÂõùú ÃÂÃÂÃÂÃÂÃÂñöþ ÃÂøÃÂéÃÂÃÂóá ÃÂÃÂüþÃÂÃÂÃÂàÃÂÃÂÃÂÃÂÃÂéÃÂÃÂ
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list