Re: Compile Question



2010/2/19 Zyle Moore <lord zymus yahoo com>:
> int main(int argc, *char argv[]) {
>
> }//compiler says i'm missing a '}'

The asterisk is at the wrong side of 'char'.

int main(int argc, char *argv[]) {
   // your main() code
}

Regards, Krzysztof


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]