Weird problem: error C2017: illegal escape sequence
I just started using Visual C++, and I have an error that I cant understand why I get.
The error message I get is: error C2017: illegal escape sequence
I looked it up, and normally you get that error if you do something wrong with a string/char, but i dont have a single string or char in my program, and certainly not in the line its complaining about.
Its in the first line in code posted the error is.
Thanks for your time
// Find the top corner of the cube we are about to draw
int x = xPos - (size / 2);
int y = yPos - (size / 2);
for (int i = x; i < scale; i++)
for (int j = y; j < scale; j++)
int pixelOffset = BYTES_PER_PIXEL * ((i * SCREEN_WIDTH) + j);
screen[pixelOffset] = 255;