Halliburton interview question

What are the alternatives instead of using API in c++ programming