| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: mails |
From: rbs{at}snippets.org
To: c_echo{at}yahoogroups.com
On Mon, 1 Sep 2003, Kurt Kuzba wrote:
> * Author: andrew clarke
> AC> These days I'd discourage anyone to learn C in a DOS
> AC> environment just because there's basically no memory
> AC> protection when your program runs amok, eg. a buffer
> AC> overrun in your program could easily lock your machine
> AC> even if you're running the program in a DOS Window under
> AC> Win9x/ME
>
> I still have my 486sx25 on which I compiled and ran a QC2.5
> program which overran a string buffer. It did a spontaneous
> reboot, after executing the code to write from a memory buffer
> to the CMOS. My system came up without any hard drive info and
> consequently couldn't boot at all. That was an interesting
> experience! At least it didn't accidentally set a gibberish
> password while it was about it. I had to dig up the specs for
> the hard drives, but everything was there once the system could
> access them once again. I've been very careful about
> overstepping the bounds on my text ever since, oddly enough.
As much as you can deride DOS as a development environment, I always found
it helped train me to be a better, more careful programmer. Since it is so
unforgiving, you learn a lot more working in it than in more protected
environments. It's still in use in a lot of single board embedded systems
where it's perfectly suitable. Of course, I must admit that I do most of
my DOS code development these days under Win32...
-------------------------------------------------------------
Consulting: http://www.MicroFirm.biz/
Web graphics development: http://Image-Magicians.com/
Software archives: http://snippets.org/snippets/
Audio and loudspeaker design:
http://LDSG.snippets.org/
http://www.diyspeakers.net/
--- SoupGate-Win32 v1.05
* Origin: rbs{at}snippets.org (2:292/516.666)SEEN-BY: 633/267 270 @PATH: 292/516 854 140/1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.