title: Check if Argument is Empty or Not Same
body: <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  int main(int argc,char* argv[]){
      if(argv[1] == ""){
          cout &lt;&lt; "please put something" &lt;&lt; endl;
      }else if(argv[1] == "string"){
          cout &lt;&lt; "yeah string" &lt;&lt; endl;
      }else if(argv[1] == "integer"){
          cout &lt;&lt; "yeah integer" &lt;&lt; endl;
      }
  }
  </code></pre>
  
  <p>I don't know what's wrong: I try to check if argument supplied for argv[1] is empty so it will be <code>false</code> and application will exit, so please tell me what is wrong in my code.</p>