How can I get an input by calling the user's name in robot class?
string name; // user's name
GetInput("Please enter your name:", name);
For the next step I should get input of an X coordinate by calling their name.
Last edited on
cout<<"Please enter your name: ";
GetInput(name + ", bla bla..");
Topic archived. No new replies allowed.