Hi
I am doing the RECURSIVELY FINDING PATHS THROUGH AMAZE project but I got a problem here.
I try to read a file to a 2D char array but it did notwork
this is what I have
include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main()
{
int count,i,j,m,l;
char data[1672];
int size[2];
char maze[100][100];
ifstream inputfile;
inputfile.open(“maze.dat”);
count = 0;
l = 0;
while (l!=2)
{
inputfile >> size[l];
l++;
}
cout << size[0] << “|” << size[1]<< “|||”<
int c=0;
while (!inputfile.eof())
{
for (i = 0; i < size[0];i++)
{
for (j = 0; j<
PayPal Gateway not configured
PayPal Gateway not configured