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

Tutorial to Linux gaming



In Alexander Courbot's tutorial there was this kind of function as 
main:

int displaypcx(int argc, char **argv);

I changed it so that it can be called from an other program (I 
think).

But how should I call it?

char tausta[] = "tausta.pcx";
int main()
{
displaypcx(2, tausta[1]);
}

warning: passing arg 2 of 'displaypcx' makes pointer from integer
without a cast
__________________________________
Microsoft. For those who seek not
money or glory