title: Can I use a binary literal in C or C++?
body: <p>I need to work with a binary number.</p>
  <p>I tried writing:</p>
  <pre><code>const char x = 00010000;
  </code></pre>
  <p>But it didn't work.</p>
  <p>I know that I can use a hexadecimal number that has the same value as <code>00010000</code>, but I want to know if there is a type in C++ for binary numbers, and if there isn't, is there another solution for my problem?</p>