My API for c++ using windows console functions