I need to add char
to a char
pointer. For example: I have a pointer of char
named name, which receives "log", after the process, I want it to be "log1".
I tried to implement this, but it did not work.
bool trocarNome(char *nome){
nome +='1';
cout<<nome;
}