Go Down

Topic: [Solved] Error after compiling (Read 631 times) previous topic - next topic

AWOL

#5
Nov 23, 2009, 10:29 am Last Edit: Nov 23, 2009, 10:37 am by AWOL Reason: 1
The '\' is the line-continuation character. You're making more things part of the comment than you want to.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PaulS

Quote
The '\' is the line-continuation character.

In basic, maybe. There ain't no such thing in C, C++, or C#.

AWOL

#7
Nov 23, 2009, 10:37 am Last Edit: Nov 23, 2009, 10:46 am by AWOL Reason: 1
Quote
There ain't no such thing in C, C++, or C#.

Hah!
Code: [Select]
// I promise that the next line won't error \
#error

// Convinced?

void setup ()
{
}

void loop ()
{
}
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up