Getting a Valgrind error on Mooshak. Solved

:))
Last edited on
Please use [code] tags so that formatting is kept intact and we can easily see what line numbers the errors refer to.

What input do you enter to your program?
Fixed.

First input is a number from 1, up to 10000 if you wish

that determines how many instances of the program you want to make.
This program is made out of a Grid, X and Y axis.
You then put in a input of these variables:

F or V or H

F = forward
V = turn left(but no movment, only a change of direction. So if facing south you turn east.
H = turn right( If facing south, you change your course to west.)

And the input of that does not matter.
an Example:

3
FHHFFF
HFFVFFH
HVVHVVFFHFFHFFHFFH

Output:
Circular
OK
Circular
circlecheck[i-1] is out of bounds on line 168-169 when i==0.
You are a god. kudos! such amaze!!!

but this did seem to open one small problem once again:

now I am getting wrong output:
<a href="http://www.freeimagehosting.net/jqxwf"><img src="http://www.freeimagehosting.net/t/jqxwf.jpg"></a>

Topic archived. No new replies allowed.