i have 2 void *
, namely void *a
, void *b
. lets a
@ 0x804ae0
, b
@ 0x804aec
. how compare two? want check if address of a
lower address of b
.
the standard operators work on void *
too:
if (a < b) ...
i have 2 void *
, namely void *a
, void *b
. lets a
@ 0x804ae0
, b
@ 0x804aec
. how compare two? want check if address of a
lower address of b
.
the standard operators work on void *
too:
if (a < b) ...
Comments
Post a Comment