guys, can you help me with files? like sample codes? before christmas vacation our professor gave us assignments (20 problems) to be submitted when the break is over. so far iv answered the rest but some i havent especially regarding on FILEs. i was kind absent when this was discussed so i find it hard just plain reading tutorials from the net.
so far my probels are:
how can i open an existing textfile and display it on the screen
how can i copy an entire file to another file. (filename.txt to filename2.txt)
and lastly how can i do a search on an existing file? example, in the textfile i saved names and number and i want to look for one entry and if that entry is found it will dispaly in the screen.
all this using (turbo C) C FILES.
i hate this holiday assignemnets. anyways, if anyone can help me, id be really grateful. sorry to bother you up guys..


