Tip: Getting a variable in hex on Watch Window

C, C++, Visual C++, C++.Net Topics
Post Reply
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Tip: Getting a variable in hex on Watch Window

Post by Neo » Thu Sep 17, 2009 8:08 pm

It is possible to get all variables in hex by right clicking on watch window and click on Hexadecimal Display. However sometimes this is a problem as we only need the hex value of a single variable.

We can do this by adding ",x" to end f variable on watch window. Hope this will help your work.
Post Reply

Return to “C/C++ Programming”