So far I have gotten the program to open the selected file and display the contents but I am unable to convert the contents to capital letters, I get an array of strange character and number combinations. Any pointers or guidance on what I need to add to this code to get it to function properly.
char fileName,line, descrip;
printf("\nEnter a file name:");
printf("\nThe file %s was not successfully opened.", fileName);
printf("\nPlease check that the file curretly exists.\n");
printf("\nThe file has been sucecessfully opened for reading.\n");
while (fgets(line,256,inFile) !=NULL)
printf("\nPress any key to exit.....");