0
What do the errors mean?
https://code.sololearn.com/c7AyVg08TIv2/?ref=app I was trying to see if I could make a '.' move back and forth across the screen but I keep getting these syntax errors and I don't understand what they mean. Any help would be appreciated.
2 Answers
+ 2
A syntax error basically means you wrote a statement incorrectly.
Ex/ string a = "Ex";
s must be capital, so this is probably a syntax error.
(Though it may just say "cannot find string" in this case)
Problems:
Story myDot = new Story();
myDot.moveDot();
You don't have those parenthesis and therefore the compiler cannot determine which method you are referring too.
When you were printing the array you also wrote this:
numSpaces[0,c] +...
What is the 'comma' supposed to be if it's not a multi dimensional array?
0
Ah, thanks. That helps a lot.