THE C++ PROGRAMMING LANGUAGE

The C++ Programming Language, Fourth Edition.jpg

The C++ Programming Language by Bjarne Stroustrup  describes a new language that can be desiribed best as C with classes. The book is rather extensive in the desciption of the language syntax.

The langage was definitely a tad too complex for implementation with DOS. Then again BASIC and Assembler have been the standard for the PC.

At universities however, larger systems are avialble to test and develop new ideas. One of the ideas was C++ which borrowed from the classic Simula which was the first object oriented language. Simular influenced the development of several programming languages.

Stroustrup’s “C with Classes” added features to the C compiler, Cpre, including classes, derived classes, strong typing, inlining and default arguments. How this worked was to take C++ statements and translate it to C which could be compiled and linked to run. This extra step is due to the complexity of compiler development.

#include <iostream>

int main()
{
    std::cout << "Hello, world!\n";
}

The syntax and design of C++ is similar C but with new headers and io techniques. Streams can be istreams and ostreams which can be multiple and used abstractly as needed. This makes it far easiler to handle database projects and wordprocessing functions.

The new 80386 sugests that a new way forward for the PC is possible. The 32-bit flat address mode can definitly go places. The 80386DX is very expensive as it launched recently but looking forward this new programming language does look like it has some potential. RAM is still rather expensive evn for a mainframe but prices have been slowly easing.

%d bloggers like this: