title: C++ Binary to Decimal
body: <p>So I know there is a way to convert Dec to binary using the bitset library but can you do the same for binary to decimal using the bitset library? or do you have to do it manually? </p>
  
  <pre><code>bitset&lt;8&gt; bin_x(number);
  </code></pre>