title: What difference between argv[1]+1 and argv[2]
body: <p>I know this question is basic, I also newbie, so plz help me clear this problem:</p>
  
  <p>I have this code:</p>
  
  <pre><code>int wmain(int argc, wchar_t *argv[])
  {
      if (*argv[1] == L'-' &amp;&amp; (!_wcsicmp(L"install", argv[1]+1)))
      {
          wprintf(L"You pressed: -install !");
      }
      else
      {
          wprintf(L"Unknown");
      }
  }
  </code></pre>
  
  <p>It work OK, but if I replace to:</p>
  
  <pre><code>int wmain(int argc, wchar_t *argv[])
  {
      if (*argv[1] == L'-' &amp;&amp; (!_wcsicmp(L"install", argv[2])))
      {
          wprintf(L"You pressed: -install !");
      }
      else
      {
          wprintf(L"Unknown");
      }
  }
  </code></pre>
  
  <p>It's break when run.</p>
  
  <p>I don't know </p>
  
  <ul>
  <li>Why use argv[1]+1</li>
  <li>What difference between argv[1]+1 and argv[2] (I've used above). </li>
  </ul>
  
  <p>Anyone explain for me, and give me document about wchar_t ???</p>