Raised This Month: $ Target: $400
 0% 

Sum of Bits (Not Equal)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 03-08-2009 , 00:00   Sum of Bits (Not Equal)
Reply With Quote #1

KSO. This is what I have. But how do I check if the condition is NOT true?
Code:
if(g_UserPhone[id][EXTRA] & EX_CUSTOM_RINGTONES) // true

This:
Code:
if(g_UserPhone[id][EXTRA] & ~EX_CUSTOM_RINGTONES) // false
Does not work.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode