qingcheng奕  
07 2013 档案
  • Purpose of XMLString::transcode
    摘要:原文地址http://stackoverflow.com/questions/9826518/purpose-of-xmlstringtranscodeI don't seem to understand the purpose ofXMLString::transcode(XMLCh*)andXMLString::transcode(char*), because obviously I don't understand the difference betweenXMLCh*andchar*. Can someone please make things clearer f 阅读全文
    posted @ 2013-07-15 14:36 qingcheng奕 阅读(704) 评论(0) 推荐(0)
  • 转载:linux编程,命令行参数输入getopt
    摘要:下面资料来自百度百科:getopt(分析命令行参数)相关函数表头文件 #include定义函数 int getopt(int argc,char * const argv[ ],const char * optstring);extern char *optarg;extern int optind, opterr, optopt;函数说明 getopt()用来分析命令行参数。参数argc和argv是由main()传递的参数个数和内容。参数 optstring为选项字符串, 告知 getopt()可以处理哪个选项以及哪个选项需要参数,如果选项字符串里的字母后接着冒号“:”,则表示还有相关的参数 阅读全文
    posted @ 2013-07-02 17:13 qingcheng奕 阅读(471) 评论(0) 推荐(0)