title: Deleting individual byte in a memory field (array)
body: <p>I have an array.</p>
  
  <pre><code>int count=5;
  
  char * array;
  array=new char[count];
  
  //now I want to do this:
  
  delete[1]-&gt;array+1;
  delete[1]-&gt;array+3;
  </code></pre>
  
  <p>how do I go about doing that?</p>
  
  <p>the freed memory can no longer be associated with the program, however array+0, array+2&amp; array+4 need to remain locked in.</p>
  
  <p>I want to have a shared memory bloc that is not associated with any program which can be used by any program without special privileges.</p>
  
  <p>the point of doing this would be to prevent the system from allocating this section to another program, or at least reducing the probability it does so.</p>