title: How to add user input to array or remove it? C++
body: <p>Say I get user input. If what they type in is not already in the array(how do I check an array?), add it to the array.
  And vice versa how do I remove something from an array given the user input. </p>
  
  <p>Example:</p>
  
  <pre><code>string teams[] = {"St. Louis,","Dallas","Chicago,","Atlanta,"};
  
  cout &lt;&lt;"What is the name of the city you want to add?" &lt;&lt; endl;
      cin &gt;&gt; add_city;
  
   cout &lt;&lt;"What is the name of the city you want to remove?" &lt;&lt; endl;
      cin &gt;&gt; remove_city;
  </code></pre>