Hello, I am very new to C++ can some one help with the following problem. I am trying to display a variable from a class function the code works in debug but the variable is not displayed. Here is my code so far.
void dayType::setday(string)
{
cout << "Please enter a day of the week." << endl;
cin >> day;
}
void dayType::setupday()
{
cout << "You have entered: " << day << endl;
}
int main()
{