I did find out where the problem were. For Name that is red with getline. It should be declared as a string like this and Action that follow should instead be declared as a char. Then it do work.
std::string Name;
char Action;
I did find out where the problem were. For Name that is red with getline. It should be declared as a string like this and Action that follow should instead be declared as a char. Then it do work.
std::string Name;
char Action;