[ create a new paste ] login | about

Link: http://codepad.org/4BVnNTAN    [ raw code | fork ]

chatsiri.ratana - C++, pasted on Jun 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include"Apr_xml.h"
#include"Apr_xml.cpp"
int main(){
        /*create object */
	apr_status_t  rvStatus;
	const  char *valuePath = "/home/Chatsiri/workspace/apr_xml/src/pathConfig.xml"; 
	 Apr_xml  aprXML( valuePath );
	if(  ( rvStatus = aprXML.statusReadFile( aprXML.getFileName(), aprXML.getMp() ) ) ==  0 ){
	     std::cout<<"Read lock success "<<std::endl;
		}
	 aprXML.unlockFile();
	
}


Create a new paste based on this one


Comments: