Whats with the error: must use c++ for header iostream.h? What do i do?
Whats with the error: must use c++ for header iostream.h? What do i do?
try to put this in your header:
instead of iostream.hCode:#include <iostream> using namespace std;
if that doesn't help then post your entire source code so i can look at it
matheo917
Also, does your source file have a ".C" or a ".CPP" extension? If it's ".C", then change it.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
the second one helped... for some reason my compiler(seen below) doesn't accept using namespace std; well, thanks again. I can't wait for that c++ book to come, it should come today or tommorrow.