原创 libxml2 在mingw中 xmlfree連接錯誤問題
原地址:http://blog.csdn.net/hongqun/article/details/6009684 libxml2是一套非常好用的xml庫,官網是http://www.libxml.org/,但是天知道是什麼原因,此網頁無法
原创 javascript function.call()調用方式與function()的區別
var Person=function(name) { this.name=name; } function func()//作用域鏈是[window] { alert(name); } var person
原创 Qt之hello world
cpp文件 #include <QApplication> #include <QPushButton> #include <QMessageBo
原创 hibernate的helloworld
爲了對hibernate有個瞭解,以後用到的時候不至於畏懼,決定先寫個helloworld嘗一嘗。 首先是準備各種包 hibernate3.jarantlr-2.7.6.jarcommons-collections-3.1.jardom4
原创 libxml2 中常用函數總結
1. 創建和編輯XML文檔 1.生成文檔樹 xmlDocPtr xmlNewDoc(xmlChar *version); 2.生成節點 xmlNodePtr xmlNewNode(xmlNsPtr ns, name);//生成新節點
原创 centos 網絡配置 小節
前些日子在centos5.6下安裝oracle10g ,結果配置網絡出現了一些問題。 oracle10g需要固定的ip地址(貌似也支持dhcp獲取ip,但是我沒有搞懂),需要將centos的地址改爲靜態的。 於是我將"/etc/sysco
原创 xpenguins 的安裝(問題來源於鳥哥基礎篇)
鳥哥在基礎學習篇給出個了問題,tarball安裝xpenguins,這還不容易?是的,小有問題,不然我還寫這篇文章記錄一下幹哈那? 我的環境:debian6+2.6.32-5-686 1. 首先下載個企鵝 download: http:/
原创 libxml 解析 顯示 xml文件
從頭開始研究: #include <stdio.h> #include <string.h> #include <libxml/parser.h> #include <libxml/tree.h> int main(int argv,
原创 linux-rpm 打包之helloworld
關於linux下rpm打包的一個小例子,稱爲helloworld吧。 本文受 這個同志啓發 : http://www.worldhello.net/2011/04/02/2405.html :此處致敬~ 另外,本文會不斷修改。 一、r
原创 libxml2 xmlTextReader 解析xml實例
#include <stdio.h> #include <string.h> #define IN_LIBXML #include <libxml/xmlreader.h> static FILE *file; void print
原创 windows下 codeblocks中 配置libxml2
而今識盡愁滋味,欲說還休,欲說還休,卻道天涼好個秋! 首先說,我看libxml是奔着優秀源代碼而來的! 有關libxml的信息見:http://xmlsoft.org/ 1. 首先下載需要的包包: iconv-1.9.2.win32.
原创 情景分析“C語言的const關鍵字”
原文地址:http://www.cnblogs.com/jqyp/archive/2012/03/06/2382531.html C語言中的const一直是C語言初學者心中的痛,這是因爲const在不同位置有不同作用,在不同情景有不同角色
原创 shell 中的括號(小括號,花括號)
鏈接:http://my.oschina.net/xiangxw/blog/11407 在這裏我想說的是幾種shell裏的小括號,大括號結構和有括號的變量,命令的用法,如下: 1.${var} 2.$(cmd) 3.()和{}
原创 const 與指針 還是英文描述準確
“指針常量” 和“常量指針” 很容易理解出問題(至少我是這樣滴),感覺還是英文說的比較準確。 一篇討論const 與指針的英文文章 http://www.codeguru.com/cpp/cpp/cpp_mfc/general/artic
原创 libxml2 解析文檔的例子(mingw)
#include <stdio.h> #include <string.h> //在mingw環境下,xmlfree 等可能出現問題,見http://blog.csdn.net/king_on/article/details/75435