std::set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aramakri
    New Member
    • Dec 2007
    • 9

    std::set

    I have values in a a set .How can i insert a comma inbetween the values in a set.For example, I have hello world I want the output as hello,world
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Use a loop to iterate through the values in your set, and print a comma after you print each value....

    Comment

    Working...