Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing a hex value to a variable 1

Status
Not open for further replies.

MarkLaz

Technical User
May 20, 2005
12
GB
Hello again everyone,

I need to write a hex value (0xA0A0) to a variable (int I suppose) but I'm not quite sure how to accomplish this. Does anyone have a suggestion?

Thanks

Mark
 
Code:
int variable;

variable = 0xA0A0;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top