My first serious attempt at C programming, which was also my first semester’s assignment. Admittedly, I had no concrete knowledge of C prior to undertaking of this huge task at the time. The lecturer was not adept at teaching, though I really admired the MIT graduate with Ph.D in medic. So I had to learn the basics from scratch and by trial-and-error for more than two months, somehow developed this piece of perfectly choreographed code. It was hard work and stressful because a single mistake could mean hours of troubleshooting. However it’s also interesting at the same, like designing the school magazine. It take a bit of creativity to produce the perfect algorithm to perform a task as fast as possible. Doing just that and seeing it run is very satisfying.
This programme is designed to read a text file containing land surveyance data and show the data graphically. The data contains soil depth, colour and strength of different holes drilled in various coordinates. Sounds easy, but I had to write an equivalent of 400+ line essay without a single grammar mistake. But that’s nothing compared to what I wrote for my current assignment which has 1000+ line. Professionally made software has millions of line of code. Of course we can’t compared that to the effort of an amateur coder. I won’t publicize the source code just in case someone decides to plagiarize it. This is a good problem for programming assignment. However, comments and enquiries are welcomed.
You can get the programme here. When asked for the file, just type the name of the file included with the extension, i.e. “boreholes.txt”.
© 2009 Powered by tehCpeng.net & WordPress. Contents provided in this website are absolute properties of Piaw unless stated otherwise.


