#Pascal or C++ ?
Tom,
The news is that C is _already_ much more proliferant than assembly
because it's much easier to understand, and you get to do less work for the
same result. The compiler does all the dirty work for you and looks after
such things as registers and segments. Some compilers do this much better
than others…
Things that take lots of time in assembly are a snap in C.
As for large programs, the same applies. Pascal is great for structured
programming but when you need to do "fiddly" things, C is definitely the
language of choice.
C allows easy integration of modules (whether written in C or another
language) to produce a large application. You write each module which
handles only specific tasks, then write more modules to connect them all
together.
Here's an example:
GADGETS is my screen handler library. It uses several modules:
GWINDOWS, GBOXES, GHELP… etc. Each of these modules performs
specific tasks, all to do with drawing boxes on the screen, saving the data
underneath and putting meaningful text inside the boxes.
GADGETS connects them all together and, in doing so, provides a
consistent user interface to the program underneath, including menus and
data input boxes. Each of these modules are made up of seperate source
files, which result in seperate .OBJ files, which are simply linked into
your program. Access to the functions in each .OBJ file is via header
files.
What could be simpler than that?
Cheers, Bert.