Saturday, February 10, 2007

Why I hate TurboC?

After a long time I decided to code something(in C) for personal use, the last time I remember was an auto-shut down timer which was meant to save on some download time(Yup, we don't have unlimited download). Code was just for some online game(which I've actually been taking a bit seriously) and we had to monitor some sort of pattern in it.
Coding in C is something which I have been doing for a long time, but this time it was a bit different. Unfortunately I didn't have linux installed in the system, so I had to code in windows. When I began thinking it couldn't get worse I realized I had to code in TC, me and my big mouth.

Well to cut the long story short, it was one of the weirdest coding I've done in months. I looked like a joker coding with three windows, one for sciTE(only thing which beats this is vi), one for the TC(which I used only for compiling, and by compiling I mean just Ctrl+F9) and one for an open C library(this is one of my best finds, whole of C library in a single HTML file). Just to make it worse, I couldn't stop thinking how easy this would've been in unix all the time...

Why I hate TC?
That is because currently I am stuck with a 'Null Pointer Assignment' error, which mysteriously makes TC compile perfectly and run only parts of the code and execute successfully without performing certain actions, I mean the output. Execute successfully without the output, I know I pity myself too.
The agony, AAEEEE

Statutory Warning:
This post will make sense only to those with basic knowledge in programming.
Oops I guess I should've put this in the beginning of the sections :D