Page 1 of 1

How do you escape a semicolon in C++?

Posted: Sun Apr 06, 2008 7:20 am
by maxinuruguay
How do you do

case ';':



i tried

case '\;':

but Xcode compiler gets mad. Any idea?[/b]

Posted: Sun Apr 06, 2008 8:18 am
by ArKay
The problem must be somewhere else in your code, you don't have to escape semicolons.

Posted: Sun Apr 06, 2008 2:23 pm
by Auria
What error message do you get? What is the problem?

Posted: Mon Apr 07, 2008 5:08 am
by maxinuruguay
ArKay wrote:The problem must be somewhere else in your code, you don't have to escape semicolons.
Yikes. You are right. Thanks.