ciao.
Devo eliminare da una stringa i caratteri \n e \r.
ho provato :
std::remove(m_strCurrStr.begin(),m_strCurrStr.end( ),'\r');
std::remove(m_strCurrStr.begin(),m_strCurrStr.end( ),'\n');
ma i da quest errore:
error C2660: 'remove' : function does not take 3 arguments
eppure dovrebbero essere proprio 3 argomenti la funzione remove!
come mai?
grazie.

Rispondi quotando