I have been making a project on C++ and I am having trouble assigning a value to a string name. I made sure to include the string library (and I did try string.h), but when I attempted to assign a value to the string name with the data type "string", it gave me the message "Error: identifier (value I assigned the string) is undefined". This is kind of what the code looked like:
string a = start;
The word "start" was underlined in red. It was weird because when I did the same thing using an integer, it worked just fine:
int a = 3;
Can somebody help? Thanks