Ask your own question, for FREE!
Computer Science 4 Online
OpenStudy (comm.dan):

How do I fix this lexical/preprocessor issue? I have a lexical/preprocessor issue. Here is the statement after the issue: " Non-ASCII characters are not allowed outside of literals and identifiers. The fix that I was presented with by Xcode is to delete the "\n". I will be attaching the code below with and without the fix. Without the fix #include int main() { int age = 40; float gpa = 3.25; char grade = ‘A’: double =.000009; char companyName[20]; return 0; }

OpenStudy (comm.dan):

With the fix #include <stdio.h> int main() { int age = 40; float gpa = 3.25; char grade = ‘A’: double =.000009; char companyName[20]; return 0; }

OpenStudy (anonymous):

should that be 'A'; or 'A': ?

OpenStudy (rsmith6559):

It's a complete statement, it should end with a semi-colon.

OpenStudy (anonymous):

that's what i figured, but wanted to let the OP look at it

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!