MID 2 C++