The operator bitset

Talk about anything here...

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

The operator bitset

Postby magiclick » Sun Apr 17, 2011 10:42 am

Hi All,
Good day. I'm Francis, self study the C/C++ lanague, but not good at it.
For example, I don't know how to use the operator bitset, can you give
me hands? Just show me the codes and let it run.
magiclick
 
Posts: 1
Joined: Sun Apr 17, 2011 10:24 am

Re: The operator bitset

Postby ventsyv » Mon Apr 18, 2011 9:32 am

Bot ??
Bit set operators are just that - operators that apply on the bit level. Let's say you have the numbers 1 (0000 0001) and 2 (0000 0010) and you apply bitwise or - the result will be 000 0011) - in this case 3.
User avatar
ventsyv
 
Posts: 2828
Joined: Mon Sep 22, 2003 5:25 pm
Location: MD USA


Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 2 guests