Are you including <string>?
yes I calling the string library inside my main() function.
the last time I checked header files work inside the place they are included
do I have to include the <string> & also any special classes inside the header files
can you include header files in other header files
and also why can't it recognise fstream
I mean I tried to call ifstream from inside the class in my header file
You can't call ifstream, it's a class, not a function.
Can you be more specific about what you're doing? (read: post code)