Message from C, C++ talks

July 2019

β€” While just iterate throw str[], so if u change condition, it just increase or reduce count of iterations, that's all
and ur problem is in str2[] array

Message permanent page

β€” Thanks!

β€” .

β€” πŸŒšmore defines..


Void ripspace(char* str){
char* dest = str;
if( *str!=' ') *dest++=*str;

β€” He already write this kind of solution one hour ago

β€” Segfault

β€” Core dump

β€” Why?

β€” Boh

β€” Or not. I'm not sure

β€” πŸ˜‚

β€” Yes, if not have a space

β€” No

β€” There where no segfault