C++ undefined reference to ... and also warning: deprecated conversion from string constant to 'char*'
<p>in C++ i am getting these two errors</p>

<pre><code>undefined reference to 'Employee::Employee'
warning: deprecated conversion from string constant to 'char*'
</code></pre>

<p>in the following two parts of my code. I know there are many topics about that but i can't solve it by my own.... What do I have to do to fix this?</p>

<p>1.</p>

<pre><code>Employee::Employee(SymbolStr sstr, int* egn, int* cd)
{
    sbstr=sstr;
    for(int i = 0; i &lt; 10; i++)
        id[i] = egn[i];
    for(int i = 0; i &lt; 4; i++)
        code[i] = cd[i];
} 
</code></pre>

<p>2.</p>

<pre><code>int main()
{
    ofstream fileout("LuboHW.txt");
    cout &lt;&lt; "Please, enter how many entries of employee's information would you like to make?" &lt;&lt; endl;
    int count;
    cin &gt;&gt; count;
    //cin.ignore();
    Employee* emp = new Employee[count];
    for(int i = 0; i &lt; count; i++)
    {
        cout &lt;&lt; "Entering information about employee number " &lt;&lt; i &lt;&lt; ": " &lt;&lt; endl;
        emp[i].read();
    }
    cout &lt;&lt; "Please, enter the code of the desired employee position: " &lt;&lt; endl;
    int cd[4];
    for(int i = 0; i &lt; 4; i++)
        cin &gt;&gt; cd[i];
        //cin.ignore();
    //writing information about employee in fileout.txt, searching by code
    for(int i = 0; i &lt; count; i++)
    {
        for(int j = 0; j &lt; 4; j++)
        {
            if(*emp[j].getCode() == cd[i])
                continue;
            if(j == 3)
                fileout &lt;&lt; emp[i] &lt;&lt; endl;
        }
    }
    system("PAUSE");
    return 0;
} 
</code></pre>
