title: C++ copying memory from one type to another
body: <p>I'd like to save the bit values of a char[4] into an int.
  Say "aaaa" is the string, I'd like the int to be 1633771873.</p>
  
  <p>'a' is stored as 01100001 on one byte in memory, so "aaaa" is 
  01100001 01100001 01100001 01100001, or 32  bits, which should fit into an int, and its decimal value is 1633771873.</p>
  
  <p>How do I copy the bit value of my char[4] into the memory of the int ?</p>