Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
2 К ПС(мережі 1, 2 семестр).doc
Скачиваний:
0
Добавлен:
01.03.2025
Размер:
3.75 Mб
Скачать

Technical overview

The 1998 C++ standard consists of two parts: the core language and the C++ standard library; the latter includes most of the Standard Template Library and a slightly modified version of the C standard library. Many C++ libraries exist which are not part of the standard, such as the Boost library. Also, non-standard libraries written in C can generally be used by C++ programs.

Object-oriented features of C++

C++ introduces some object-oriented (OO) features to C. It offers classes, which provide the four features commonly present in OO (and some non-OO) languages: abstraction, encapsulation, polymorphism, and inheritance.

History of the name "C++"

This name is credited to Rick Mascitti (mid-1983) and was first used in December 1983. Earlier, during the research period, the developing language had been referred to as "C with Classes". The final name stems from C's "++" operator (which increments the value of a variable) and a common naming convention of using "+" to indicate an enhanced computer program, for example: "Wikipedia+". According to Stroustrup: "the name signifies the evolutionary nature of the changes from C". C+ was the name of an earlier, unrelated programming language.

Some C programmers have noted that if the statements x=3; and y=x++; are executed, then x==4 and y==3; x is incremented after its value is assigned to y. However, if the second statement is y=++x;, then y=4 and x=4. Following such reasoning, a more proper name for C++ might actually be ++C. However, c++ and ++c both increment c, and, on its own line, the form c++ is more common than ++c. However, the introduction of C++ did not change the C language itself, so an even more accurate name might be "C+1".

Stroustrup addresses this debate in the preface of later editions of his book, The C++ Programming Language, adding that another interpretation of the name "C++" might be inferred from the appendix of George Orwell's Nineteen Eighty-Four. Of the three segments of the fictional language Newspeak, the "C vocabulary" is the one dedicated to technical terms and jargon. "Doubleplus" is the superlative modifier for Newspeak adjectives. Thus, "C++" might hold the meaning "most extremely technical or jargonous" in Newspeak.

C plus plus

Task 1

Write down, read and learn the words and word combinations.

1 pronounce

произносить

2 general- purpose

общецелевой

3 commercial

торговый, коммерческий

4 enhancement

повышение, увеличение

5 templates

шаблоны

6 exist

существовать

7 research

исследовать

8 inheritance

наследство

9 core

стержень, основа

10 convention

обусловленный

11 increment

увеличивать

12 value

ценность

13 unrelated

не имеющий отношения

Task 2

Translate words with the dictionary.

Компьютер, язык программирования, общий, популярный, развивать, текущая версия, стандарт, использовать, обычно, утверждение, предисловие.

Task 3

Read and translate the text “C plus plus”.

Task 4

Complete the sentences.

  1. C++ is a…..

  2. It is a statically typed………

  3. The C++ programming language standard…….

  4. The 1998 C++ standard consists of two……….

  5. Many C++ libraries exist………………………

  6. Also, non-standard libraries……………………

  7. C++ introduces……..

  8. It offers classes……..

  9. This name is credited to…….

  10. Earlier, during the research period……

  11. The final name…….

Task 5

Make the sentence.

Language itself, be”C+1”,however, did not change, name might, the C, the introduction, so an even more, of C++, accurate.

5.3. Вивчення тексту за фахом.“ Мова програмування Delphi” ………………………………………………………………

5.4. Вивчення тексту за фахом.“Мова програмування Fortran” ……………………………………………………...............

5.5. Вивчення тексту за фахом.“ Мова програмування Cobol” ………………………………………………………………

5.6. Вивчення тексту за фахом.“ Мова програмування PASCAL” ………………………………………………………….

5.7. Вивчення тексту за фахом.“ Мова програмування PHP” .

5.8. Складання власної доповіді курсового проекту.

С.Р.№ 16: Складання тез доповіді захисту курсового проекту англійською та українською мовами ……………………

5.9. Семінар за темами ………………………………………...

Перелік використаних джерел………………………………..

Додаток А