title: Should I use int or long in C++?
body: <p>While the size of <code>int</code> depends on the CPU, <code>long</code> seems to be 32 bit (?). But it seems so intuitive to use <code>int</code> for numbers where size doesn't really matter, like in a for loop.</p>
  
  <p>It's also confusing that C++ has both <code>long</code> and <code>__int32</code>. What is the second for then?</p>
  
  <p><strong>Question:</strong> What number types should I use in what situations?</p>