That's exactly what I mean. I think this assumption is wrongI 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.
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 CSo they cant think about portability at this stage.
What kind of events? I never heard of any events in TurboC.One more advantage for starters will be , some understanding on how events are generated and how to handle them.
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.I didn't want to be odd one out and so joined to help others too.
This is purely academical "perfection" - you'll never put that knowledge into practical use.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.
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?By frame buffer i meant accesing cga memory directly as in http://en.wikipedia.org/wiki/Pointer...apped_hardware
That's one of the reasons I graduated CS on a technical university instead of a theoretical one![]()






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.
Reply With Quote
Actually i meant interrupts.

Bookmarks