#10419 - goro - Thu Sep 04, 2003 2:21 pm
I know that this is the arrow operator but can someone tell me what it does in the gba programming world in 'kids language' because I'm finding it hard to grasp it's concept.
I read somewhere that it "references individual aggregate data-type elements under a single name"
I know that agregate data-types probably means structures but I still find it hard to understand :-
I read somewhere that it "references individual aggregate data-type elements under a single name"
I know that agregate data-types probably means structures but I still find it hard to understand :-
Code: |
bg->tileData = (u16*)CharBaseBlock(bg->charBaseBlock);
bg->mapData = (u16*)ScreenBaseBlock(bg->screenBaseBlock); temp = bg->size | (bg->charBaseBlock<<CHAR_SHIFT) | (bg->screenBaseBlock<<SCREEN_SHIFT) | bg->colorMode | bg->mosaic | bg->wraparound; |