From: garyg AT southeast DOT net (Gary M. Greenberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP sample programs? Date: Sat, 29 Mar 1997 03:13:13 GMT Organization: /* NOT REACHED */ Lines: 47 Message-ID: <5hi1np$9fj@news.southeast.net> References: NNTP-Posting-Host: ts6-015.southeast.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , Eli Zaretskii wrote: > > On Mon, 24 Mar 1997, Phil Galbiati wrote: > > > I think that *simple* examples of: > > 1) single-file c program > > 2) multi-file c program > > 3) single-file c++ program > > 4) multi-file c++ program > > > > A more involved example may be good as well (especially if it highlights > > DJGPP features which make it more powerful and easier to use than the > > borland & M$ products -- perhaps a simple exercise of the virtual memory > > system, and/or filename globbing). > > This stuff really belongs to a tutorial, which DJGPP indeed lacks. > > > I would be more than willing to put together the c examples, but I don't > > know c++ well enough to know what a good quick example might be. > > Then put together C examples only and make them available (contact DJ > Delorie for details about uploading). In my experience, making a feature > happen, even in part, encourages others to contribute as well. I just downloaded DJGPP for C programming. After unzipping all the archives, I tried to compile a few ANSI C programs that I wrote on a Mac for use on a Solaris workstation, and which I had copied to my new Toshiba laptop. I'm _very, very pleased_ with DJGPP. Everything ran straight away. And, the programs compiled without alteration. The only thing I found disconcerting is that when I altered the font using rhide, the background is bothersome && I need to learn how to make it solid white. Anyway, I serve a C Programmer's Reference which can be found from: "http://users.southeast.net/~garyg/index.html" As I've not programmed for PCs before (but with tools like this, I can learn to ignore MSloth), y'all might not be familiar with this hierarchy. Check it out, it should help eliminate some of the simple questions. Of course, there's nothing like buying a good reference to learn to code. And, I'd gladly contribute source for others to look at and use. Cheers, gary /* the Sorcerer's Apprentice */