I'm writing a program where performance is quite important, but not critical. Currently I am reading in text from a FILE* line by line and I use fgets to obtain each ...
Greetings, I've been tasked to create a menu driven program that accepts various inputs from the user and displays the data back to them. Relatively simple I'm sure but I'm having a problem with fgets not pausing for a string entry. Here is the code I've written so far: Code: void perform_menu_tasks( int e ) { if( e == 1 ) ...
Hi I am new to C. I have to do an assignment where I have to take filenames as input and process each of them in a lop. What I am doing is taking the input in a space separated string (validations still incomplete) using strtok to retrieve individual filenames, putting them in an array, and processing each element of the ...