Some basic C++ code for writing DOS programs