I had this machine exercise on my EEE11 class, and boy, I am dealing with file I/O and pointers. Our lecture professor had discussed a little about pointers, and for the past two meetings we hadn't had a lecture class. Our lab instructor wasn't there last week, and so she gave us the machine exercise which will be checked this coming Tuesday.
Since I had no idea about opening files in C programming I had to do some research from my notes and my friends. Luckily they answered 2 out of 3 parts of the problem. The last one, well they'll be needing more help. After my research and coding I was able to finish all three parts, but I don't like the way I solved part three.







