the user has entered data, and i am wanting to print off specific parts of the data. The user is to enter a catagory, and all the videos in this catagory to be printed off. I cant figure out what is wrong with this code, can anyone help?
printf("Enter the catagory of video you would like displayed (Kids,Action,Romance,Thriller) - ");
printf("Number Title Certificate Catagory Daily Rental Available\n\n");
for (j = 0; j < i; j++)
if (0 != (strstr(((VideoData[j].videotitle)[j])=VideoData[j].videotitle, Selection)))
printf("\n\nTo return to the main menu press any key ");