Sep 2, 2009 at 3:01pm UTC
Is there a compiler option to recognize and ignore carraige returns and line feed within a char array.
This is occuring with char strings that have been translated to other languages.
The following code compiled fine with our old compiler but does not with
our new one. (there is a CR in the middle of the translated string)
I'm looking for a compiler option or other ideas.
static const char* test = "€T|ûg
R¡NºTX";
Sep 2, 2009 at 3:05pm UTC
You should probably post the code.
oic
umm i thnk it needs to be this
static const char *test[number long plus null] = "text here";
Sep 2, 2009 at 3:10pm UTC
Thats is exactly the code....its translated to a diff language , thus looking goofy
and causing the compiler errors , but compiles fine with our older compiler.
Here is the exact code again to be clear. (thanks)
static const char* test = "€T|ûg
R¡NºTX";