Hello,
I have the user entering text of unknown length. But after a certain sentence width, I must break the sentence, using an \n character, to move below from the start. I am using std::string. My problem isn't on the line break, but on knowing not to separate words. Right now, it breaks everywhere, making the whole thing a mess. I need words to be intact. Any ideas?