
LinuxC
whyrun
这个作者很懒,什么都没留下…
展开
-
variable 'std:ofstream' has initializer but incomplete type
variable 'std:ofstream’ has initializer but incomplete type或者是variable 'std:ifstream’ has initializer but incomplete type其原因是因为没有包含fstream这个头文件。Cpp代码 #include #include转载 2012-04-04 09:56:45 · 15314 阅读 · 5 评论 -
使用 getopt() 进行命令行处理
http://www.ibm.com/developerworks/cn/aix/library/au-unix-getopt.html简介: 所有 UNIX® 程序甚至那些具有图形用户界面(graphical user interface,GUI)的程序,都能接受和处理命令行选项。对于某些程序,这是与其他程序或用户进行交互的主要手段。具有可靠的复杂命令行参数处理机制,会使得您的应用程序更转载 2012-06-16 16:01:56 · 439 阅读 · 0 评论