In answer to your first post, you can't. There is no automatic conversion of an array of char* to an array of strings. I don't think that there is any way to do it that looks good, except this way:
class Menu
{
string menu1[4];
public:
Menu();
~Menu();
};
Menu::Menu()
{
menu1[0] = "Options";
menu1[1] = "Start";
menu1[2] = "Stop";
}
Menu::~Menu()
{
}
The answer to your second post is that your code is wrong ... or the tutorial is wrong (find a decent one - 'Thinking in C++' is a free book available off the net). You can only assign a char* to a string as a part of the construction, or within a function.
So, either this:
#include "DarkSDK.h"
#include <string>
using namespace std;
string name = "mark";
or this:
#include "DarkSDK.h"
#include <string>
using namespace std;
string name;
int main()
{
name = "mark";
}