comment should explain what im trying to accomplish...not sure how i should approach this problem tho
fileWork::fileWork(const std::wstring& processName,const std::wstring& fileName) // i want to use initializer list, but how can i do so if i want the function arguments to be checked first...before any class members are initialized? is this not possible or any ideas?
{
isValidProcess(processName);
isValidfile(fileName);
this->fileName = fileName;
this->processName = processName;
memoryAddress = NULL;
}