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.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses” - Bjarne Stroustrup