Letter into words
<p>I'll be placing my class to show additional things that I need work with. Would it work if I did typecasting? Or I just have to learn strings?</p>

<pre><code>class NumberBox
{
private:

    int number;
    char letter;

public:

    NumberBox *next_ptr;
    void setNumber(int number)
    {
        this-&gt;number = number;
    }

    void setLetter(char letter)
    {
        this-&gt;letter = letter;
    }


    int getNumber()
    {
        return number;
    }

    int getLetter()
    {
        return letter;
    }
};

int main()

    cout &lt;&lt; "Please Give the faction for the first Card" &lt;&lt; endl;
    cin &gt;&gt; faction[0];
    if(faction [0] == 's' || faction [0] == 'c' || faction [0] == 'h' || faction [0] == 'd')
    {
        if(faction[0] == 's')
        {
            faction[0] = "spade";
            factionHead_ptr-&gt;setLetter("spade");
        }
    }
</code></pre>

<p>How do you do it? Like If The user input <code>'s'</code> then it would be Spade.</p>
