gaussian.cpp
cout << "Enter your Image directory " << endl;
getline(cin, imagedir);
cout << endl;
img = imread(imagedir);
if (img.empty())
{
cout << "Error!!!, Invalid image or wrong Directory, check your input and try again, see you later" << endl;
system("pause");
return -1;
}
----------------------------------------------
main.cpp
{
Help();
}
when i run this code after the help.cpp have finish running it is supposed to prompt me to enter my image direct, but it just goes straight to tell me that my input directory is invalid, but it hasnt ask me to input my directory but the the option.... my aim is to get the program to ask me to input my directory after i have pressed one but it is not doing that.., any help we be appreciated