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

Strings problem in GCC

This topic is 5316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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