Hi,
I don't know why the member variable of my class is getting a wrong value. I just want to copy a char array to member variable that is also a char array.
What is wrong?
Thanks!
// constructor
filewatcher::filewatcher(char filename[])
{
// filename to watch
strcpy(this->_filename, filename);
}