Search found 1 match

by RomanKing
Sun Nov 01, 2009 2:43 pm
Forum: Volume 101 (10100-10199)
Topic: 10189 - Minesweeper
Replies: 418
Views: 125635

Re: 10189-Minesweeper (WHY WA)

I keep getting Runtime error. Can someone please check.
#include <stdio.h>
main()
{
int f=1,ch,j,i,m,n;

scanf("%d %d ",&m,&n);
while ((m!=0)&&(n!=0))
{
char **st = new char*[m+1];
for (i=0;i<m+1;i++)
st[i] = new char[n];

char **st1 = new char*[m+3];
for (i=0;i<m+2;i++)
st1[i] = new char ...

Go to advanced search