How can I compare bitset with an integer ? Or more generally work with integer operator: something like this :
#include <iostream> 
#include <iomanip>
#include <bitset>
using namespace std;
int main()
{
bitset<4> _b1 = 3 ; 
if(_b1>=2 )
    cout<<_b1;
system("pause");
return 0;
}
 
     
     
     
     
    