I'm having a problem resolving some namespace isses.

in my project I have:
main.cpp: #include <iostream.h>
main.cpp: #include "timestamp.h"

timestamp.h: #include "timelist.h"
timestamp.h: #include <fstream.h>

timelist.h: #include <list>

the issue is I'm getting "ambiguous operators" in timestamp.h when I declare ofstreams and ifstreams. I tried changing list to list.h but I get several compile problems (likewise with changing iostream.h to iostream)

also adding "using namespace std;" or declaring them as std:fstream is not working.

Am I using the wrong namespace or is there a different method of fixing this?

I can't help but feel like I'm running some sort of "hack job" and that there's a better way to all of this.

thanks,
Devan