Quote Originally Posted by Gopala Krishna View Post
Your advice may be perfect for me but not my other classmates since they really don't know anything other than turboc for now. That is the only IDE familiar to them which involves nice context help built in. So doing a small functional editor(similar to edit) will sprout interest in them , atleast that is what my teacher assumes.
That's exactly what I mean. I think this assumption is wrong I don't say students shouldn't use turbo c, I'm saying they shouldn't implement such things with it, especially if they are new to the language.

So they cant think about portability at this stage.
It's not about thinking about portability. It's about knowing there are different architectures, not only x86/Win32. Using such concepts as programming interrupts as the basic of the C course seems very strange, based on the fact that for modern operating systems you'll never touch any interrupt handler, because they are hidden and well protected. Of course, again, this doesn't apply if you code a device driver, but that doesn't seem to be the case when using Turbo C

One more advantage for starters will be , some understanding on how events are generated and how to handle them.
What kind of events? I never heard of any events in TurboC.

I didn't want to be odd one out and so joined to help others too.
I'm not blaiming you. I'm just saying your teacher had a weird idea making his students implement a text editor as a starters project from C.

My idea is to do something special in this. For example i have better idea to handle the events and catch interrupts at right place. I am trying to be perfectionist in as many areas as possible and also would like to learn advanced data structures.
This is purely academical "perfection" - you'll never put that knowledge into practical use.

By frame buffer i meant accesing cga memory directly as in http://en.wikipedia.org/wiki/Pointer...apped_hardware
I understand that. What operating system are you using? Emulation of DOS, right? Do you have DOS on your desktop computer? Have you tried using the framebuffer directly inside WinXP or Vista for a non DOS-based application?

That's one of the reasons I graduated CS on a technical university instead of a theoretical one