Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI721.ASC

 
Output of file : TI721.ASC contained in archive : C_ALL.ZIP







PRODUCT : Borland C++ NUMBER : 721
VERSION : 2.0
OS : DOS
DATE : August 12, 1992 PAGE : 1/1

TITLE : Biggest Source File that BC++ Can Compile?







There's no easy measure of the size of a file that can be
compiled by BC++; it's more a function of complexity: large
switch statements, deeply nested ors, ifs, whiles, etc. take
up more memory.

So if you're running out of memory in a compile, simplify. And
compilation is basically done function by function, so shorter
files won't help much. It's the complexity within a function
that will make the compiler hit its limits.

If you are developing Windows applications, there are lots of
ways to make your 'winproc' smaller. One of the best is to
ignore the usual programming conventions that have grown up
around windows and do it right. For a small example of that
sort of thing, take a look at the TODO demo that comes with BC.
There are no deeply nested switch statements; not only does
this effectively solve the problem but it has the added effect
of making code readable.

DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.

























  3 Responses to “Category : C++ Source Code
Archive   : C_ALL.ZIP
Filename : TI721.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/