This topic is now archived and is closed to further replies.


Strings problem in GCC

Recommended Posts

Raduprv    997
I have a problem with the way GCC handles strings. For example, if I have this instruction: my_strcp(dest,"This is a string which will be splited on two lines. Now we are on the second line"); GCC will add a \n after "lines." So, my string will have a new line it it. Which is not nice, especially when I have long strings and I want to press enter in the middle, for readability purposes. Is there any way to solve this problem, and not have \n in the string except if I specifically request it? Height Map Editor | Eternal Lands | Fast User Directory

Share this post

Link to post
Share on other sites