A89: A C question


[Prev][Next][Index][Thread]

A89: A C question




I have a question about C.  Lets say I have a sprite and it looks like this:

static unsigned int block[] = {0xFF,0xC3,0xA5,0x99,0x99,0xA5,0xC3,0xFF};

And I wanted to save that to a temporary sprite.  How would I go about 
storing that sprite into a different sprite.  I tried this:

static unsigned int temp[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
.
.
.
temp = block;

And all sorts of things like that.  Any help would be apprectiated and I 
promise I'll stop asking questions very soon here.

Dan



Follow-Ups: