I have a function that Reads a file called "videos.txt". For some reason it is not reading the text from Videos.txt. Does anyone see a problem with the code? I've been looking over it for about an hour and it looks fine to me..Any help would be greatly appreciated. Thank you so much.
void MeTube::Read_Video(MeTube Video[], int &count)
{
ifstream din;
din.open("videos.txt");
if (din.fail())
cout << "Could not open videos.txt" << endl;