I've recently been told that my indenting and spacing bad. But what exactly does this mean? How do i fix it, where do i indent? should i not worry and move on or what?
See http://en.wikipedia.org/wiki/Indent_style
Statements within a block (curly braces) must be indented, generally 2, 4 or 8 spaces or one tab.
Add whitespace where it makes the code more readable. And most importantly, no matter how you do it, stick to one style in a project.