Created int_mid.cpp