Reputation: 33683
This is a very newb question...
??? hexvalue = 0xFFFFFF;
What do I replace ???
with?
Upvotes: 2
Views: 5818
Reputation: 28688
0xFFFFFF
is identical to saying 16777215
, what type would you put for 16777215
?
They're just numbers, so int32_t, NSInteger, NSUInteger, long, etc are all valid.
Upvotes: 4