07-26-2023, 11:37 PM
I was wondering how I could define a really long string over the multiple lines.
I tried so many different patterns, but none of them is working..
Here is my code.
#define EXAMPLE "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
"ccccccccccccccccccccccccccccccccccc"
"ddddddddddddddddddddddddddddddddddd"
and I get syntax error.
The error I got is
ccompile.h (as included in test.c)
=================
error: syntax error before or at: g
*** Error code 2
I want to assign "aaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbccccccccccccccdddddddd" to EXAMPLE.
I tried using \ and @\ but that didn't work out.
I tried so many different patterns, but none of them is working..
Here is my code.
#define EXAMPLE "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
"ccccccccccccccccccccccccccccccccccc"
"ddddddddddddddddddddddddddddddddddd"
and I get syntax error.
The error I got is
ccompile.h (as included in test.c)
=================
error: syntax error before or at: g
*** Error code 2
I want to assign "aaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbccccccccccccccdddddddd" to EXAMPLE.
I tried using \ and @\ but that didn't work out.