title: How to convert an array of integers into an array of bits?
body: <p>What I would like to accomplish is to iterate through an array of 8 integers and convert each integer into it's binary form of 8 bits. I would also like the 8 bits of each integer to be stored into a single integer array of size 64. Here is what I have so far yet I cannot seem to get the proper array.</p>
  
  <pre><code>int Data[8] = {0,0,190,42,0,0,2,33};   
  
  int bits[64];
  
  for(int j = 0; j &lt; 64;j++){
    for(int i = 0; i &lt; 8;++i){                                                                
  
        bits[j+i] = Data[i] &amp; (1 &lt;&lt; i) ? 1 : 0;                                                   
  
     }
  } 
  </code></pre>
  
  <p>The array I would like to obtain would be the following. (With each bit being its own element)</p>
  
  <pre><code>{0000000000000000101111100010101000000000000000000000001000100001}
  </code></pre>