Im trying to put this function i made in a class, when i run it doesn't seem to work

int main()
{
    menulogic user();

    welcomemsg();
    menu();

    user.menumath();

    return 0;
}

So, when i build the program it says the user before .menumath must have a class type. Why?