What i think is that fgets is scanning the coordinates i put for scanf and putting that into the array as well as the maze chars i entered. Thats why im getting those jumbled up numbers and chars....
Type: Posts; User: stpeng
What i think is that fgets is scanning the coordinates i put for scanf and putting that into the array as well as the maze chars i entered. Thats why im getting those jumbled up numbers and chars....
I did that at the beginning the reason why i started at 1 was because before i started to find the start and end points i tried to print out the maze just as a test. I used the normal way but for...
code is posted
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
int x;
int y;
int startx;
int starty;
int finishx;
int finishy;
Hi everyone, I have a question about a maze program i have to write. All i want to accomplish at the moment is to just locate the start and end coordinates of a maze the user would be inputting on...