Re: [cc65] Assignment help

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-07-21 00:32:06


Hello Shawn,

Sunday, July 21, 2002, 12:16:18 AM, you wrote:

SJ> Hi,

SJ> I'm still a little lost with this assignment and casting thing, please help!

SJ> I have a struct typedef, and a pointer to that struct:

SJ> HDTABLE_T *hdtable;

SJ> I also have an unsigned int value:

SJ> 0x1234

SJ> How do I make this assignment:

SJ> hdtable = 0x1234;

hdtable=(HDTABLE_T*)0x1234;

but are you sure that is what you want to do? :o)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-07-21 00:32:19 CEST