摘要: 本文中排序都是采用的从小到大排序> 一、对int类型数组排序 int num[100]; Sample: int cmp ( const void *a , const void *b ) { return *(int *)a - *(int *)b; } qsort(nu... 阅读全文
posted @ 2008-07-25 13:58 LiveStar 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /**/ /* 需要添加以下命名空间: usingSystem.IO; usingSystem... 阅读全文
posted @ 2008-07-25 13:56 LiveStar 阅读(1709) 评论(0) 推荐(0) 编辑
摘要: 在查询前插入:mysql_query("set names 'utf8'"); for example: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-... 阅读全文
posted @ 2008-07-25 13:52 LiveStar 阅读(547) 评论(0) 推荐(0) 编辑