View Single Post
Old 09-08-2005, 09:49 PM   #1 (permalink)
bradleyc
Registered User
 
Join Date: Aug 2005
Posts: 17
bradleyc is on a distinguished road
What am i missing?

... sorry, i just cant see it ...

Error:ass1.cpp(220,2)eclaration syntax error
Error:ass1.cpp(250,6)eclaration missing ;


Code:
void doDelete()
{
	clrscr();
   char inputv, input;
   cout << "                      " << endl;
   cout << "  --- DELETE VIDEO MENU ----                 " << endl;
   cout << "  Would you like to delete a video (y/n)?: ";
   cin >> inputv;
   if (inputv == 'y' || inputv == 'Y')
   	(
       	int item, location;
      	clrscr();
      	cout << "                      " << endl;
      	cout << "  What is the video's name ? ";
       	cin >> item;
       	location = searchName(videoLib, numElements, item);
       	if (location == -1)
       		(
         	clrscr();
         	cout << "                      " << endl;
         	cout << "  Invaild Input" <<endl;
         	cout << "  Press any key to exit ....";
				input = getch();
        		}
       	else
         {
       		{
       		for(int i = location; i < numElements - 1; i++)
       		}
         	videoLib[i] = videoLib[i++];
      	}
   	}
}

Last edited by bradleyc; 09-09-2005 at 12:12 AM.
bradleyc is offline   Reply With Quote