+ 1
help me im getting an error.
9 Answers
+ 1
Hi Zihan Sabah ,
Just wanted to know, is this thread still in relation to your previous one below đ
If it is, can you say clearly what solution are you looking for? cause making duplicate posts is not recommended ...
https://www.sololearn.com/Discuss/2397227/?ref=app
+ 1
I'll try,
But first, give me an example, cause I don't understand clearly the "remove a bunch of characters" part.
And tell me about that error you got too, so I can test it out ...
+ 1
Okay, let's assume these strings
"learning.c++@sololearn.com"
"hello world it's 17th of July"
What becomes the output?
+ 1
Okay, so if I understood correctly here, only alphabets (case doesn't matter) and spaces is desired.
My idea would be to utilize the `isalpha` and `isspace` function from header <cctype>. For details on what these functions do, please refer below đ
http://www.cplusplus.com/reference/cctype/isalpha/
http://www.cplusplus.com/reference/cctype/isspace/
0
Ipang i had edited that code and found a another problem. i wanted to remove one char from one char from a string. now i want to remove a bunch of characters from a string and faced an error. by the way, do u know the solution?please help a noob here ;-;
0
Ipang lets say we only want to use letters nothing else such as numbers or @^@&.... etc. how to remove this kind of chars from a string? can we use ascii?
0
i dont even know why im getting this error. everything looks correct to me
0
the output i want to be is
"learningcsololearncom"
"hello world its th of July"
0
okay