Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C++ Tutorial
Bitset 19 codes
Home
C++ Tutorial
Bitset
1 A bitset to hold 8-bits
2 Bitset and, and shift operators
3 Create a copy of a bitset
4 Flip a bitset
5 Flip the bits
6 Initialize a bitset with hex number
7 Instantiate a bitset object for 8 bits, given an unsigned long init value
8 Instantiate a bitset object for holding 4 bits, all initialized to 0000
9 Instantiate a bitset object for holding 5 bits, initialize it to a bit sequence supplied by a string
10 Or fields in bitset
11 Read a binary number into a bitset
12 Reset bit in a bitset
13 Result of AND between the two sequences
14 Result of OR between the two sequences
15 Result of XOR between the two sequences
16 Test value in a bitset
17 Transform binary representation into integral number using bitset
18 Use bitset with enum together
19 Write a decimal integer as a binary number