Getting a Valgrind error on Mooshak. Solved

Jan 19, 2014 at 3:29pm
:))
Last edited on Jan 19, 2014 at 11:45pm
Jan 19, 2014 at 3:35pm
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?
Jan 19, 2014 at 3:50pm
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
Jan 19, 2014 at 4:01pm
circlecheck[i-1] is out of bounds on line 168-169 when i==0.
Jan 19, 2014 at 4:30pm
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.