Search:

Type: Posts; User: Cdigitproc1

Search: Search took 0.01 seconds.

  1. Thx Sal.

    Thx Sal.
  2. Hey Sal, I don't have a fixation on macros, I am...

    Hey Sal, I don't have a fixation on macros, I am just trying familiarize myself with debugging and ..... I was told this will be helpful on some of new projects- in lieu of some systems work.
  3. macro to determine if variable is signed/unsigned

    #define IS_UNSIGNED( var ) \
    ( (var) >= 0 && ~(var) >= 0 )

    what are the forseen problems in using this? I see a problem when looking at zero after the integer is one's complemented.

    Can...
  4. Replies
    9
    Views
    11,664

    Thanks a trillion for the tips guys.

    Thanks a trillion for the tips guys.
  5. Replies
    9
    Views
    11,664

    Are you saying by adding opening/closing braces...

    Are you saying by adding opening/closing braces that would do the job? I have tried a do while, but program does not compile.
    Likewise, do I see a problem without the index been declared?
  6. Replies
    9
    Views
    11,664

    Sorry, I am a novice to using macro; still don't...

    Sorry, I am a novice to using macro; still don't get it.
  7. Replies
    9
    Views
    11,664

    need help with multi line macro usage

    Consider the following incorrect code segment. It has two pieces to it: PRINT_THREE_TIMES macro and the code
    that uses the macro:

    #define PRINT_THREE_TIMES \
    printf ("one: %d\n", 1); \
    ...
Results 1 to 7 of 7