The Red Fox jumped over the Lazy Dog
Could be translated to:
How to translate it to:

To make it more eye friendly.

Recommended Answers

All 4 Replies

you could use replace function and replace spaces.

Yes, but how to know which character stands for which?
I have heard that < is also ";lt?".
How do I know which characters replace by which?


try this function from algorithm header.

string s = SOME_STR;
replace( s.begin(), s.end(), 'x', 'y');
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.