B eclipse tut 24

changed c-api code to c++ in the linux_eclipse examples