fork download
#include 
#include 
#include 

using namespace std;

namespace cppfsm {
    /*            constants             */
	// character classes:
	string s_alpha = "This text Will Become sorted, and duplicate letters will appear once.";
	const set alpha(s_alpha.c_str(),s_alpha.c_str()+s_alpha.length());
}

int main()
{
	for (set::const_iterator cit = cppfsm::alpha.begin();
		cit != cppfsm::alpha.end();
		++cit
		)
		cout << *cit << ' '; // display each character

	cout << endl; // newline
}
Success #stdin #stdout 0.01s 2860KB
stdin
Standard input is empty
stdout
  , . B T W a c d e h i l m n o p r s t u w x