C/C++
neuTblue
这个作者很懒,什么都没留下…
展开
-
使用 getopt() 进行命令行处理 ( 转 )
转自: http://lhg803.javaeye.com/blog/409216 所有 UNIX® 程序甚至那些具有图形用户界面(graphical user interface,GUI)的程序,都能接受和处理命令行选项。对于某些程序,这是与其他程序或用户进行交互的主要手段。具有可靠的复杂命令行参数处理机制,会使得您的应用程序更好、更有用。不过很多开发人员都将其宝贵的时间花在了编写自原创 2010-02-01 15:16:00 · 687 阅读 · 0 评论 -
CareerCup-150 1.1
Career Cup 刷题活动开始.............. 第一题:Implement an algorithm to determine if a string has all unique characters What if you can not use additional data structures? 思想:基本思想还是使用哈希,对数组中的每个元素对应到哈希表中并原创 2012-04-16 14:52:21 · 2757 阅读 · 2 评论