On Tue, 9 Nov 1999, Maarten ter Huurne wrote:
> > What I'm _really_ after is a Linux util to decompress PMA's.
> I prefer option 2. I already added "-pm0-" support, but "-pm2-" support is a
> lot harder. The main problem is that I'm not that experienced with C. Help
> is appreciated.
I can help you there. If you have the packing format specs of PMA, I could
as well write a whole new unpacker/packer for unix. Just let me know what
you need/what you have.
Bye,
shevek
/***********Use gcc to compile***Don't mind the warning************/
int*a,k ,v[ 9]; int*main (){ int i,j,s=1, x,z ,c[
]={ 1,4 ,7, 4,3 ,4, 5,4 ,1, 1,1 ,2,
3,3 ,3, 4}; for (i= 0;( i++ <9) &!k
;s=-s) {k=0;scanf ("%d",& z);v [--z ]=s;for (j=0;j
<8; j++ ){z =v[ c[j ]];k |=z ==v [c[
j]- c[j +8] ]&( z&&(v[ c[j ]+c [j+
8]]==z) );; ;}} printf(" %d won\n",- s*k );}
/*******************Tic-tac-toe.use 1-9 to play********************/
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****