Build "call_expat.cpp" on a UNIX machine with g++ -lexpat call_expat.cpp -o foo && ./foo