Mail Archives: djgpp/2001/10/19/15:34:06
"Bart van den Burg" <bart AT bart99 DOT tmfweb DOT nl> wrote in
news:9qprh4$bqk$1 AT cyan DOT nl DOT gxn DOT net:
> how comes the next following function always echoes "48" and in
> -----------
> if (markMine && minesA[x-1][y-1] == 2) {
> drawCircle(x * 5 - 1, y * 5 - 1, 1, 4);
> mines--;
> }
> else if (!markMine)
> printNumber(x - 1, y - 1);
> -----------
> markMine always seems to be false??
Who knows when you have:
> }
> char buffer[0];
> sprintf(buffer, "%d", char(x));
in your code.
Your posts are becoming exceedingly off-topic. you might want to try
alt.comp.lang.learn.c-c++. and take a look at the C faq (because, even
though you are using C++ features, most of your code is poorly written C.)
Sinan.
--
--------------------------------
A. Sinan Unur
http://www.unur.com/
- Raw text -