No, you can't.
'x' defines a single character or integer (note:
'ab' is a two-byte single value [integer] made up from the ASCII values of both characters).
" within a string you have two options:
- Escape the
\, as in:
char foo = "He said \"Hello there\".";
- Use "raw strings" if the compiler is configured to support it:
char foo = R"(He said "Hello there".)";
Option 1 is the most portable since it doesn't require compiler support for modern C++ standards. However it's the hardest to read, especially when you get lots of escapes in the same string.
You can make it more readable by defining QUOTE:
#define QUOTE "\""
char foo = "He said " QUOTE "Hello there" QUOTE ".";