title: Visual Studio shows C++ ambiguity errors after adding if-statement
body: <p>I'm having this weird code issue. In visual studio all of my 'cout's, 'cin's, and my 'system' have red squiggles and are marked as ambiguous code. The project still compiles fine and doesn't give me any errors or warnings but it's annoying and will stop me from knowing when I'm making an actual error. It all started when I added the 'if(argc > 0)' part and if I remove it then delete and retype 'using namespace std;' the squiggles disappear. Sadly when I retype the above 'if' statement the problem returns. I would really appreciate some help.
  Thanks people!</p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;iostream&gt;
  #include "chkString.h"
  using namespace std;
  
  int main(int argc, char * argv){
      int cipher;
      int encryption;
      string keyPhrase;
      string iFile;
      string oFile;
      chkString chk;
      cout &lt;&lt; "Hello User!" &lt;&lt; endl;
      if(argc &gt; 0){
          cout &lt;&lt; "Hello";
      }
      if(argc = 0){
          cout &lt;&lt; "Enter '1' for Vigenere, or '2' for Playfair, or '0' to quit: ";
          cin &gt;&gt; cipher;
  
          while(cipher != 1 &amp;&amp; cipher != 2 &amp;&amp; cipher != 0){
              cout &lt;&lt; "I'm sorry that is not a valid entry. "
                  &lt;&lt; "Please retry." &lt;&lt; endl &lt;&lt;
                  "Enter '1' for Vigenere, or '2' for Playfair, or '0' to quit: ";
              cin &gt;&gt; cipher;
          }
          if(cipher == 0){
              return 0;
          }
  
          cout &lt;&lt; "Enter '1' for encryption, '2' for decryption: ";
          cin &gt;&gt; encryption;
  
          while(encryption != 1 &amp;&amp; encryption != 2){
              cout &lt;&lt; "I'm sorry that is not a valid entry. "
                  &lt;&lt; "Please retry." &lt;&lt; endl &lt;&lt;
                  "Enter '1' for encryption, '2' for decryption: ";
              cin &gt;&gt; encryption;
          }
  
          cout &lt;&lt; "Enter the keyphrase: ";
          cin &gt;&gt; keyPhrase;
  
          while(!(chk.intCheck(keyPhrase))){
              cout &lt;&lt; "I'm sorry that is not a valid entry. "
                      &lt;&lt; "Please retry." &lt;&lt; endl &lt;&lt; "Enter keyphrase: ";
                  cin &gt;&gt; keyPhrase;
          }
  
          cout &lt;&lt; "Enter your output file name: ";
          cin &gt;&gt; oFile;
  
          cout &lt;&lt; "Enter yout input file name: ";
          cin &gt;&gt; iFile;
      }
      cout &lt;&lt; "Hello" &lt;&lt; endl;
      system("pause");
      return 0;
  }
  </code></pre>