Course Solutions Uncategorized (Solved) : Hi Recursively Finding Paths Maze Project Got Problem Try Read File 2d Char Array Work In Q34799901 . . . .

(Solved) : Hi Recursively Finding Paths Maze Project Got Problem Try Read File 2d Char Array Work In Q34799901 . . . .

 

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<

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Instructions Stage 1 Buildgraphjava Write Program Called Buildgraphjava Create Word Ladder Q35962538 . . . .(Solved) : Instructions Stage 1 Buildgraphjava Write Program Called Buildgraphjava Create Word Ladder Q35962538 . . . .

<p><em>Instructions</em></p><p><em>STAGE 1: BuildGraph.java</em></p><p><em>Write a program called “BuildGraph.java” to create the wordladder graph.</em></p><p><em>Read the contents of the “dictionary.txt” and add allfour-letter words to an ADT ArrayList words = newArrayList<>();</em></p><p><em>Create an output