bool Compare(wstring& left, wstring& right)
{
    return left < right ? true : false; 
}


int _tmain(int argc, _TCHAR* argv[])
{
    std::vector<wstring> strList;
    strList.push_back("가나다");
    strList.push_back("아자차");
    strList.push_back("거지");
    strList.push_back("나라말이");

    std::sort(strList.begin(), strList.end(), Compare);


return 0;

}

안정적인 DNS서비스 DNSEver DNS server, DNS service
Posted by 키르히

댓글을 달아 주세요