This has to be a common question that all programmers have from time to time. How do I read a line from a text file? Then the next question is always how do i write it back. Of course most of you use a high level framework in day to day programming (which are fine to use in answers) but sometimes it's nice to know how to do it at a low level too. I myself know how to do it in C, C++ and Objective-
