Question : How do I add a comma to my string?

string str adds in more incoming string in a for/next loop.


  str += it->strName;                      

how do I add a comma after each name (it->strname)?

Answer : How do I add a comma to my string?

See if this works:
   str += ',';

Or,
str += it->strName + ',';
Random Solutions  
 
programming4us programming4us