Originally Posted by
aamir121a
they could then Microsoft would have to reveal the source code , which they do not want to do think of it as driving a car , you interact with it , via steering , brakes , gears however common people have no idea what is going on inside , same with API , headers files allow you to use given set of libraries without knowing anything about them ,
It helps developers in what the want to do rather than how they will do it. Perfect example is DirectX or OpenGL , developers want to devepol games they are not interested in how it interacts with underlying video cards.