For my project I'm working on I want to display to the user from the command prompt all available function that are available to be used, now is there anyway of displaying these functions other than typing out each one
example:
Functions I want displayed
bool status();
double getTime();
void setTime(int h, int min, int sec);
double getDate();
void setDate(int d,int m,int y);
void setAuto();
void turnOn();
void turnOff();
These are declared in a class i've called Audio_Visual.h
//Have a small welcome text
cout << "Welcome to this Home Automation System" << endl;
cout << "Here Are a list of functions, please type what you want to do" << endl;
// DISPLAY FUNCTIONS
//display current function such as lights.setAuto();
string input = "";
//How to get a string/sentence with spaces
cout << "Please enter a valid function" << endl;
getline(cin, input);
cout << "You entered: " << input << endl << endl;
How I've written the command line stuff