|
-
Jun 1st, 2008, 11:53 PM
#1
Thread Starter
PowerPoster
[RESOLVED] DWORD bit set
Hi all,
I have a variable define like this.
After doing some process, I want to set all bits(all 32 bits) into one. So I do this.
Is that ok.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Jun 2nd, 2008, 06:31 AM
#2
-
Jun 2nd, 2008, 08:31 PM
#3
Thread Starter
PowerPoster
Re: DWORD bit set
Thanks,
I have a trick too. Since it is unsigned long if I do this?
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
-
Jun 3rd, 2008, 06:28 AM
#4
Re: DWORD bit set
Don't do that. It's not a trick, its misleading and bad practice.
-
Jun 3rd, 2008, 10:36 PM
#5
Thread Starter
PowerPoster
Re: DWORD bit set
Ok. Thanks for the information.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|