codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#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(); }
Private
[
?
]
Run code