Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
Hi, On Fri, Jun 7, 2024 at 5:14 PM Richard Stoltenberg via Freedos-devel wrote: > > Just some notes; updates. People might want to stick to the pdfs if they need > bigger font. > LibreOffice may be able to save as html. Got the C Language book from Lulu > on Monday 3rd June. I forgot that even Richard Stallman wrote a C book that he gives away for free: _GNU C Language Intro and Reference Manual_ * https://lists.gnu.org/archive/html/info-gnu/2022-09/msg5.html * https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/tree/ > I read new standards for Ansi C were updating (2018). > https://www.iso.org/standard/74528.html maybe just bug fixes. > Thanks now can try to fix code. * https://en.wikipedia.org/wiki/C23_(C_standard_revision) ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
Just some notes; updates. People might want to stick to the pdfs if they need bigger font. LibreOffice may be able to save as html. Got the C Language book from Lulu on Monday 3rd June. I read new standards for Ansi C were updating (2018). https://www.iso.org/standard/74528.html maybe just bug fixes. Thanks now can try to fix code. On Thu, May 23, 2024 at 2:02 AM Bernd Böckmann via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Hello Richard, > > C in general and Open Watcom in particular are good choices for DOS > programming. The other free options supporting more recent C versions are > GCC as part of DJGPP targeting 32-bit DPMI, and, despite being somewhat > experimental, IA16-GCC, a port of GCC for the DOS 16-bit real mode target. > > Not exactly with examples, but for documentation specific to Open Watcom I > recommend their PDFs and / or the printed manuals. At least the Open Watcom > C Language Reference (it is basically ANSI C with some but not all features > of C99 and implementation specific addons) and the programmers guide would > be a good idea to have a look at after aquiring some knowledge of the C > language. > > https://openwatcom.org/ftp/manuals/current/ > > I created books from all their PDFs by myself. You may get them via Lulu > for a reasonable price (I make no money from it). Until now I only made the > Language Reference book public, but if someone is interested, I may make > the other ones available too. > > > https://www.lulu.com/shop/the-open-watcom-contributors-and-bernd-b%C3%B6ckmann/open-watcom-c-language-reference/paperback/product-vpjwd9.html?page=1&pageSize=4 > > Greetings, Bernd > > > Am 23.05.2024 um 03:26 schrieb Richard Stoltenberg via Freedos-devel < > freedos-devel@lists.sourceforge.net>: > > > > Greetings: > > I got my program to compile under watcom 1.9 but it has errors. Not > looking for help directly, but good programming documentation. Does anyone > have any good free/paid programming books with examples? found: The ANSI C > Programming Language > > by Brian W. Kernighan, Dennis M. Ritchie (not cheap) > > and Ansi C Programming Concept Kindle Edition > > by Sivarasan R (Author) cheaper > > > > is Ansi-C the right year compiler and language? wasn't clear from a view > of your youtube videos and website, I enjoy. Thanks. > > > > ___ > > Freedos-devel mailing list > > Freedos-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freedos-devel > > > > ___ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
> is Ansi-C the right year compiler and language? "Ansi-C"? ANSI is the American National Standards Institute. "ANSI C" refers to the standard version of the C programming language ratified by ANSI for use in the United States of America. In colloquial usage, "ANSI C" refers to the 1989 version of the ANSI C standard, ANSI X3.159-1989, which is also referred to colloquially as "C89" or "C90" (as ISO adopted the same standard as ISO 9899 in 1990.) The OpenWatcom C compiler is mostly compliant* with C99. It generally supports C89 ("ANSI C"). *I am not sure of the extent of the incompatibility, but I have not encountered issues with versions 1.9 or the 2.0 fork. It may fully implement C99 at this point. -- Kirn Gill II Mobile: +1 813-300-2330 <+18133002330> VoIP: +1 813-704-0420 <+18137040420> Email: segin2...@gmail.com LinkedIn: http://www.linkedin.com/pub/kirn-gill/32/49a/9a6 On Wed, May 22, 2024 at 8:27 PM Richard Stoltenberg via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Greetings: > I got my program to compile under watcom 1.9 but it has errors. Not > looking for help directly, but good programming documentation. Does anyone > have any good free/paid programming books with examples? found: The ANSI C > Programming Language > by Brian W. Kernighan, Dennis M. Ritchie (not cheap) > and Ansi C Programming Concept Kindle Edition > by Sivarasan R (Author) cheaper > > is Ansi-C the right year compiler and language? wasn't clear from a > view of your youtube videos and website, I enjoy. Thanks. > > ___ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
Hi, On Thu, May 23, 2024 at 2:02 AM Bernd Böckmann via Freedos-devel wrote: > > C in general and Open Watcom in particular are good choices for DOS > programming. > > The other free options supporting more recent C versions are GCC as part of > DJGPP targeting 32-bit DPMI, and, > despite being somewhat experimental, IA16-GCC, a port of GCC for the DOS > 16-bit real mode target. Most DOS compilers never supported C99. Although I can appreciate parts of C99, you don't really "need" it for DOS. * https://en.wikipedia.org/wiki/C99 > Not exactly with examples, but for documentation specific to Open Watcom I > recommend their PDFs and / or > the printed manuals. At least the Open Watcom C Language Reference (it is > basically ANSI C with some but > not all features of C99 and implementation specific addons) and the > programmers guide would be a good idea > to have a look at after aquiring some knowledge of the C language. The DOS reader is "whelp cguide", IIRC. Not PDF but readable in plain DOS without third-party tools. _C in a Nutshell (2nd)_ is also a good book and even covers C11: * https://www.amazon.com/Nutshell-Definitive-Reference-Peter-Prinz-dp-1491904755/dp/1491904755/ref=dp_ob_title_bk ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
Hello Richard, C in general and Open Watcom in particular are good choices for DOS programming. The other free options supporting more recent C versions are GCC as part of DJGPP targeting 32-bit DPMI, and, despite being somewhat experimental, IA16-GCC, a port of GCC for the DOS 16-bit real mode target. Not exactly with examples, but for documentation specific to Open Watcom I recommend their PDFs and / or the printed manuals. At least the Open Watcom C Language Reference (it is basically ANSI C with some but not all features of C99 and implementation specific addons) and the programmers guide would be a good idea to have a look at after aquiring some knowledge of the C language. https://openwatcom.org/ftp/manuals/current/ I created books from all their PDFs by myself. You may get them via Lulu for a reasonable price (I make no money from it). Until now I only made the Language Reference book public, but if someone is interested, I may make the other ones available too. https://www.lulu.com/shop/the-open-watcom-contributors-and-bernd-b%C3%B6ckmann/open-watcom-c-language-reference/paperback/product-vpjwd9.html?page=1&pageSize=4 Greetings, Bernd > Am 23.05.2024 um 03:26 schrieb Richard Stoltenberg via Freedos-devel > : > > Greetings: > I got my program to compile under watcom 1.9 but it has errors. Not looking > for help directly, but good programming documentation. Does anyone have any > good free/paid programming books with examples? found: The ANSI C > Programming Language > by Brian W. Kernighan, Dennis M. Ritchie (not cheap) > and Ansi C Programming Concept Kindle Edition > by Sivarasan R (Author) cheaper > > is Ansi-C the right year compiler and language? wasn't clear from a view of > your youtube videos and website, I enjoy. Thanks. > > ___ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] prog lang. year for watcom compiler/programming book list?
There's the ebook and video series I did a few years ago. It's meant to teach the basics of programming in C, using openwatcom on FreeDOS. https://www.freedos.org/books/cprogramming/ There also used to be a print book you could but at low cost on Lulu, but I took it off sale a while back. If you would like to order it, let me know and I can reactivate the listing so you can buy it. On Wed, May 22, 2024, 8:26 PM Richard Stoltenberg via Freedos-devel < freedos-devel@lists.sourceforge.net> wrote: > Greetings: > I got my program to compile under watcom 1.9 but it has errors. Not > looking for help directly, but good programming documentation. Does anyone > have any good free/paid programming books with examples? found: The ANSI C > Programming Language > by Brian W. Kernighan, Dennis M. Ritchie (not cheap) > and Ansi C Programming Concept Kindle Edition > by Sivarasan R (Author) cheaper > > is Ansi-C the right year compiler and language? wasn't clear from a > view of your youtube videos and website, I enjoy. Thanks. > > ___ > Freedos-devel mailing list > Freedos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-devel > ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel