I have a header file that contain this class in regards to my other thread "Array of class objects"

When with the include and using namespace statements it will not allow me to declare a string in the private data. And i need to hold the name of a item from a file... Any ways around this?

Code:
#include <string>
#include <iostream>
using namespace std;

class dispenserType
{
	public:
		int getNoOfItems() const;
		int getCost() const;
		void makeSale();
		dispenserType(int setNoOfItems = 50, int setCost = 50);
	private:
                string name;
		int numberOfItems;
		int cost;
};