title: error C2440: '=' : cannot convert from 'const char [2]' to 'char'
body: <p>I am learning c++, and I am having issues doing some newbie things. I am trying to create a very small application that takes the users input and stores it into a char array. I then parse through that array and remove all parenthesis and dases and display it. like the following</p>
  
  <p>(325)858-7455 
  to<br>
  3258587455</p>
  
  <p>But I am getting errors</p>
  
  <pre><code> error C2440: '=' : cannot convert from 'const char [2]' to 'char'
  </code></pre>
  
  <p>Below is my simple code that can easily be thrown in a compiler and ran.</p>
  
  <pre><code>#include "stdafx.h"
  #include&lt;iostream&gt;
  #include&lt;conio.h&gt;
  
  using namespace std;
  
  /*
  This is a template Project
  */
  int main()
  {
      char phoneNum[25];
  
      for(int i = 0; i &lt; (sizeof(phoneNum) / sizeof(char)); i++)
      {
          phoneNum[i] = "i";
      }
  
  
      cout&lt;&lt; "Enter a phone Number" &lt;&lt;endl;
      cin&gt;&gt;phoneNum;
  
      if(phoneNum[0] != '(' || phoneNum[4] != ')' || phoneNum[8] != '-')
      {
          cout&lt;&lt;"error";
      }
      else
      {
  
          for(int i = 0; i &lt; (sizeof(phoneNum) / sizeof(char));i++)
          {
              if(phoneNum[i] != '(' || phoneNum[i] != ')' || phoneNum[i] != '-')
              {
                  cout&lt;&lt;phoneNum[i];
              }
          }
      }
  
      cin&gt;&gt;phoneNum;
      getchar();
  
  
      return 0;
  }
  </code></pre>
  
  <p>It is not completely finished so if anyone has any pointers on the best way to remove strings characters from a string. that would be great. </p>