Stray '\' in program error even though i am not using it for comments

No code tags, I cannot see any '' in that code fragment. You also did not provide the error you get.