thank you for the suggestions guys..
FYI i use turbo c++,
SaswatPadhi is right if i use using namespace std it will give me more errors.