Converting C++ program into C

This is a discussion on Converting C++ program into C within the C++ Programming forums, part of the General Programming Boards category; Can anyone help me convert this C++ program into a C program?
Code:
#include <iostream>
using namespace std;
class date
...

I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.

Do you know that you can interchange C and C++? By using a C interface, you can call your C++ code from C (you would still have to compile C++ code with a C++ compiler, of course).
Do you also know that you can compile C with a C++ compiler (you will have to adapt your code a little bit, though, since C++ isn't 100% backwards compatible).

If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.