求教高手bitset用法解决方法

求教高手bitset用法
我在最开始include <bitset>;
但后面的变量不能用,
然后换成include <bitset.h>
bitset.h的文件找不到
求高手,在vc++6.0环境下如何使用bitset


------解决方案--------------------
你有加了using namespace std;了么??要不就要写std::bitset。。。。
------解决方案--------------------
C/C++ code

// bitset::set
#include <iostream>
#include <bitset>
using namespace std;

int main ()
{
  bitset<4> mybits;

  cout << mybits.set() << endl;       // 1111
  cout << mybits.set(2,0) << endl;    // 1011
  cout << mybits.set(2) << endl;      // 1111

  return 0;
}