define variable

  • 13 years ago

    #define INTEGER_TYPE 0x02
    ---------------------------------
    #define INTEGER_TYPE 2

    how to use define variable oct and hex  ..example useing please. 

  • 13 years ago

    Just like any other define statements : use them everywhere you can use a constant. EX : for Bitwise operations (like : | and &) you can use Hex_Defines.

    Your question is a somewhat unclear to me, then if that was not your answer, please explain more.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill