sort of arguments
<p>i have following code</p>

<pre><code>#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;
int comp(const void *a, const void *b){
char *const *aa=a;
char *const *bb=b;
return strcmp(*aa,*bb):


}
int main(int argc,char **argv){

int i;
  qsort(argv+1,argc-1,sizeof *argv,comp);
   for (i=1;i&lt;argc;i++)
       printf("i: %d==&gt; '%s'\n",i,argv[i]);
   return 0;


}
</code></pre>

<p>but here is errors</p>

<pre><code>Error   1   error C2440: 'initializing' : cannot convert from 'const void *' to 'char *const *' c:\users\student\documents\visual studio 2008\projects\sort_argv\sort_argv\sort_argv.cpp    5   sort_argv
Error   2   error C2440: 'initializing' : cannot convert from 'const void *' to 'char *const *' c:\users\student\documents\visual studio 2008\projects\sort_argv\sort_argv\sort_argv.cpp    6   sort_argv
</code></pre>

<p>Error   3   error C2143: syntax error : missing ';' before ':'  </p>

<pre><code>c:\users\student\documents\visual studio 2008\projects\sort_argv\sort_argv\sort_argv.cpp    7   sort_argv
</code></pre>

<p>Error   4   error C2143: syntax error : missing ';' before ':'  </p>

<pre><code>c:\users\student\documents\visual studio 2008\projects\sort_argv\sort_argv\sort_argv.cpp    7   sort_argv
</code></pre>

<p>please help</p>
