Dude, when posting code here put it in between the code tags so it doesn't mess things up.
Now, on to your question,
I think the .h is already deprecated? It should work fine with:
EDIT: Although since it's VC++6, the .h may be needed after all. Not sure.
Your code straight compiles and works fine for me. What IDE are you using? And are you using the MingW compiler? Personally I use Bloodshed's Dev-C++ 5 (the beta). It's more current, I believe.
Now, on to your question,
Black Dragon Wrote:Code:# include <iostream.h>
I think the .h is already deprecated? It should work fine with:
Code:
#include <iostream>
EDIT: Although since it's VC++6, the .h may be needed after all. Not sure.
Your code straight compiles and works fine for me. What IDE are you using? And are you using the MingW compiler? Personally I use Bloodshed's Dev-C++ 5 (the beta). It's more current, I believe.
"Let's fight... like gentlemen." - Dudley, SF3