Does C++ have line numbers?

I'm getting a " expected unqualified-id before numeric constant" error too. However, I'm using the same code snippet from another program and getting ZERO error messages.. (Line 10.1)
Note, I did copy and paste the snippet below from another program. I deleted it and typed it in by hand to make sure no NPC were in the mix.

8 //The relays connect to
9 int potPin= A0; //Assign potPin A0
10 int readValue; // Read value var


cooler_02_sim.ino:10:1: error: expected unqualified-id before numeric constant

Get rid of the line numbers.

Use Arduino IDE|File|Preferences for line numbers.

C++ does not use line numbers.

The line numbers in the left hand margin of the Arduino IDE are there purely for your convenience, they have no effect on the program.

If you try to include line numbers in your code then it won't compile.