My assignment is to have the user input a filename and then change that filename to all capital letters. I have no clue how to do this. Any help would be greatly appreciated. I will post the code I have so far but I have no idea where to go from here
PHP Code:
#include <stdio.h>
int main()
{
FILE *infile;
char filename[13];
printf("\nEnter a file name: ");
gets(filename);
infile = fopen(filename,"w");