Galera, sou nova na linguagem c e estou com problemas quando uso o char *argv[], o código que eu estou tentando compilar é simples e estou tentando rodas com o Dev C++, segue o código abaixo
#include<stdio.h>
int main(int argc, char *argv[])
{
int i;
for (i = 0; i < argc; i++)
printf("%s\n", argv);
return 0;
}
OS ERROS SÃO:
[Warning] cannot find entry symbol _mainCRTStartup; defaulting to 00401000
[Linker error] undefined reference to `_alloca'
[Linker error] undefined reference to `__main'
[Linker error] undefined reference to `printf'
ld returned 1 exit status
DO QUE SE TRATA ESSES ERROS ????