title: Bit shifting left
body: <p>Let's say I want to bit shift <code>i</code> twice to the left and store the value in <code>f</code>.</p>
  
  <pre><code>f = i &lt;&lt; 2;
  </code></pre>
  
  <p>Is that correct? How exactly do I do this in C/C++?</p>