Weitere Kapitel dieses Buchs durch Wischen aufrufen
Dennis Ritchie developed the C programming language at Bell Labs in the late 1960s/early 1970s, and it became a popular general-purpose programming language. It is used for both systems programming and in application development and is widely used in industry. The language provides high-level and low-level capabilities, and the language is portable in that a C program written in ANSI C may be compiled for a very wide variety of computer platforms and operating systems (with minimal changes to the source code). C++ is an object-oriented extension of the C programming language, and it was designed to use the power of object-oriented programming and to maintain the speed and portability of C. It provides a significant extension of C’s capabilities, but it does not force the programmer to use the object-oriented features of the language.
Bitte loggen Sie sich ein, um Zugang zu diesem Inhalt zu erhalten
Sie möchten Zugang zu diesem Inhalt erhalten? Dann informieren Sie sich jetzt über unsere Produkte:
One common error in C programs is writing “=" instead of "==.” This totally alters the meaning of the statement.
The semicolon in Pascal is used as a statement separator, whereas it is used as a statement terminator in C.
It is easy to write a one line C program that is incomprehensible. The maintenance of poorly written code is a challenge unless programmers follow good programming practice. This discipline needs to be enforced by formal reviews of the source code.
Zurück zum Zitat Kernighan B, Ritchie D (1978) The C programming language, 1st edn. Prentice Hall Software Series, Englewood Cliffs MATH Kernighan B, Ritchie D (1978) The C programming language, 1st edn. Prentice Hall Software Series, Englewood Cliffs MATH
Zurück zum Zitat Stroustrup B (2013) C++ programming language, 4th edn. Addison Wesley, Upper Saddle River MATH Stroustrup B (2013) C++ programming language, 4th edn. Addison Wesley, Upper Saddle River MATH
- C and C++ Programming Languages
- Chapter 14
Neuer Inhalt/© ITandMEDIA