3 ms·
> I think you could ignore C++ tokens and just pay attention to the preprocessor directives when figuring out e.g. what to #include, because strings couldn't sp
by user982 6y ago
> I think you could ignore C++ tokens and just pay attention to the preprocessor directives when figuring out e.g. what to #include, because strings couldn't span multiple lines, so you could easily identify the directives with a # in the beginning of the line.
char *cstr = "This \
#is a valid "
"C string";
If I understand you correctly, is this a counterexample?
- mehrdadn 6y agoAw shoot, yeah it is. :( Thanks!