The following is giving me a compiler error:
#include <foo.h>
#define ODP ( \
L"bar. " \ // C2059 here
L"baz.")
#define FFW (5)
What am I doing wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You forgot the line splice characters
Not sure why you put those newlines though. It all gets down to
Note that the characters must be the last ones on the line. And you cannot put a line comment (
//) before them, because the line comment would extend to the next physical line. Use C Style comments if you still want to comment the lines separately