every time I start debugging this shows up as a problem- if clause does not guard wmisleading indentation
The screen shows up with the dot but I can’t move it using the keys I looked online and it mentioned a spacing issue but nothing changed even when I completly re did that section.
Think of the if-statement like a function call, so you want to make sure there’s no space between “if” and the parentheses containing the expression it’s testing. While it doesn’t throw an error the same goes for the while-loop as well.
Don’t forget to save your cpp file and compile before testing again.