Question: C program I need to write a c program that reads a file and stops to wait for input. The idea is that for this

C program I need to write a c program that reads a file and stops to wait for input. The idea is that for this project my program competes with another program in a game of battleship, so I make my move, then I have to wait for the oponents move before I make my next move. I must read the opponents move from a text file and write my move to a textfile as well. So basically I need a function in C that reads and writes to a text file and pauses for the opponents input before my output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!