The author posted a question in Programming
C++How do I remove spaces, apostrophes, and Roman numerals in a sentence? and got a better answer
Response from
Response from 0[+++++]
Same as in any other language. Find the occurrence position of a substring in a string and remove from this position a number of characters equal to the length of the substring.
Same as in any other language. Find the occurrence position of a substring in a string and remove from this position a number of characters equal to the length of the substring.
Response from 0[+++++]
As one detective said - it is elementary, start the line IVXLCM<space> and check that each character of the line being checked is not contained in this line. As you check, rearrange the characters to the beginning of the string, since throwing characters out creates holes.
As one detective said - it is elementary, start the line IVXLCM<space> and check that each character of the line being checked is not contained in this line. As you check, rearrange the characters to the beginning of the string, since throwing characters out creates holes.