What does \205 mean and how do I fix it? attached below is the output I got and here is my code:
What does \205 mean and how do I fix it?
attached below is the output I got and here is my code:
const int MAX_DOC_LENGTH = 250;
char document[MAX_DOC_LENGTH] = "I'm upset that on Nov. 13th, 2020, my 2 brand-new BMW M850is were stolen!!";
char tempDoc[MAX_DOC_LENGTH];
// Keep a counter of the index in tempDoc to put each character
int index = 0;
// Loop through document and add all valid characters to tempDoc
for (int i = 0; document[i] != '\0'; i++) {
// If alphabetic, add to temp doc
if (isalpha(document[i]) || isblank(document[i])) {
// This line also increments the index, so next time, it will be put in the next index
tempDoc[index++] = document[i];
}
}
cout << tempDoc << endl;
![Im upset that on Nov th my brandnew BMW Mis were
stolen\205
Program ended with exit code: 0](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F376cb677-fd46-48cc-aa6e-e354d873aa8a%2F9d228aea-aed8-4bec-99ac-64b48aaa3fb2%2Fycc50bf_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)