Windows系统下的按名称排序算法怎么实现
急急

解决方案 »

  1.   

    ASCII码 或者 Unicode大小 好像 
      

  2.   

    根据字符数值大小,可用strcmp/wcscmp排顺序
      

  3.   

    The return value for each of these functions indicates the lexicographic relation of string1 to string2.
      

  4.   

    首先,谢谢各位的支持,不过我测试过了,在Widnows下文件按名排序的规则是数字大小和字母顺序,其中数字大小优先,想问下各位有没有实现这类算法的代码,开源的。