0
J'ai quelques problèmes avec un pointeurComment obtenir le char a const * points de pointeur TCHAR à
void getPartOfString(const TCHAR * wholeString)
{
const TCHAR * pPointer = NULL;
pPointer = _tcsstr(wholeString, searchedString); //searching for a special string in string
pPointer += _tcslen(searchedString); //set pointer to the beginning of the string wanted
//here I want to check if the char, the pointer points to is a space and if it is set it forward
}
Alors, comment puis-je me débarrasser de cet espace?
OMG, merci. Je n'ai jamais pensé que ça pourrait être aussi facile ... – Stefanie
@Stefenie: La façon habituelle de remercier quelqu'un pour une réponse correcte sur stackoverflow est de marquer cette réponse comme acceptée. – Johnsyweb