将数据存储到数组中是,按位存储是怎么回事啊?最好能够详细讲一下!谢谢! 

解决方案 »

  1.   

    bitset( );
    bitset(
       unsigned long _Val
    );
    template<class CharType, class Traits, class Allocator>
       explicit bitset(
          const basic_string<CharType, Traits, Allocator>& _Str,
          typename basic_string<CharType, Traits, Allocator>::size_type
             _Pos = 0,
          typename basic_string<CharType, Traits, Allocator>::size_type
             _Count = basic_string<CharType, Traits, Alloc>::npos
       );
    Parameters
    _Val 
    The positive integer whose base two representation is used to initialize the bits in the bitset being constructed. 
    _Str 
    The string of zeros and ones used to initialize the bitset bit values. 
    _Pos 
    The position of the character in the string, counting from left to right and beginning with zero, used to initialize the first bit in the bitset. 
    _Count 
    The number of characters in the string used to provide initial values for the bits in the bitset.