C++ and Direct X Code