Miracle C is not a good C compiler. Try Dev-C++ for a free compiler. Despite the name, it compiles both C and C++.