title: C programming - character move issue
body: <pre><code>void shiftChar(char** text, int length, int height){
  
   int i, j;
     for ( i = 0; i&lt; height ; i++ ) { 
      for (j = 0; j&lt;length; j++){
        if(text[i][j] == 'X'){
       ;
        }
      }
    }           
  
  }
  </code></pre>
  
  <p>Hey people, can someone please point me in the right direction here.. I'm trying to shift some characters(in any random direction). I'm new to C and having trouble visualizing what needs to happen here..</p>
  
  <p>This is the structure of my function will be called in my main.</p>
  
  <p>and so if the file is 
  ABCDEX 
  ABCDEX
  ABCDEX
  ABCDEX
  I need to shift the X characters over like so,<br>
  XABCDE 
  XABCDE
  XABCDE
  XABCDE</p>