I don't think the nDqJobIndex incrementing thing will be a problem, and if it is I'll make a different thread. My issue is that I don't know how to handle these lines:
Why are you not just making a constructor for _job that takes the name, title, salary,
and credit years min as parameters? It is so much cleaner than that function.
Great, though your default constructor should really initialize the integers to zero (the strings are already
being default constructed to an empty string).
You should also use an initializer list (in both constructors):
1 2 3 4
_job( const std::string& name, const std::string& title, int salary, int creditYears, int iqEffect ) :
name( name ), title( title ), salary( salary ), creditYearsMin( creditYears ), nIqEffect( iqEffect )
{
}
With an initializer list your code is slightly more efficient.