12-16-2016, 10:08 AM
the aim of the code is to replace a word by another in a lpstr string, which seems hard to do.
the tok function needs an two str variables to be equal to the lpstr string, one for be tokenized, mapped to a istringmap routine, then replace words in the second str copy, and
then return lpstr eqaul to second str.
i wanted to avoid that double str use, but can't...
the tok function needs an two str variables to be equal to the lpstr string, one for be tokenized, mapped to a istringmap routine, then replace words in the second str copy, and
then return lpstr eqaul to second str.
i wanted to avoid that double str use, but can't...