Hi, I'm having some trouble using the string data type I'm very new to c++:
I would like to have a class with a non sataic data member of type string. as defined in #include <string>
Here is the jist of what I'm trying to do:
#include <string>
using namespace std;
class treeNode
{
public:
//lots of methods
private:
string nodeElement = "text";// a string that is in each node of a tree
}
