0
I need help with file pointers
I need to write a program with these components and I just don’t know where to start. I’m new in this and need help lol Declares a FILE pointer, char filename[100] and any additional variables needed Prompts user to enter the filename “declaration.txt” Prints the name of file entered Opens the tile as read only If the file pointer is nil invokes exit (0) Contains the function Int isvowel(char c) which you must write that returns 1 if the character is a vowel 0 otherwise In a loop, if a vowel is input via C= fgetc(fptr) Print it, otherwise no action Is taken Then read the next character until EOF is encountered at which point the program is exited
3 Respostas
0
it is a homework question.. i am not far along at all.. all my schooling is online now so im trying to teach myself.. i wrote some code but ended up scrapping it cause i stsrted to confuse myself. i feel like just need pointed in the right direction.