I'm not sure if you all need all my files, but I'm getting the following error message when compiling:
productionworker.cpp(8) : error C2440: '=' : cannot convert from 'const char [4]' to 'char'
productionworker.cpp(10) : error C2440: '=' : cannot convert from 'const char [6]' to 'char'
Can anyone help?
#include "ProductionWorker.h"
char ProductionWorker::getNameShift()
{
char nameShift;
if (shift == 1)
nameShift = "Day";
if (shift == 2)
nameShift = "Night";
return nameShift;
}