С++, Notes for Professionals.
This C++ Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA, see credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified.
The standard C++ compilation process.
Executable C++ program code is usually produced by a compiler.
A compiler is a program that translates code from a programming language into another form which is (more) directly executable for a computer. Using a compiler to translate code is called compilation.
C++ inherits the form of its compilation process from its "parent" language, C. Below is a list showing the four major steps of compilation in C++:
1. The C++ preprocessor copies the contents of any included header files into the source code file, generates macro code, and replaces symbolic constants defined using #define with their values.
2. The expanded source code file produced by the C++ preprocessor is compiled into assembly language appropriate for the platform.
3. The assembler code generated by the compiler is assembled into appropriate object code for the platform.
4. The object code file generated by the assembler is linked together with the object code files for any library functions used to produce an executable file.
• Note: some compiled code is linked together, but not to create a final program. Usually, this "linked" code can also be packaged into a format that can be used by other programs. This "bundle of packaged, usable code" is what C++ programmers refer to as a library.
Many C++ compilers may also merge or un-merge certain parts of the compilation process for ease or for additional analysis. Many C++ programmers will use different tools, but all of the tools will generally follow this generalized process when they are involved in the production of a program.
Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу С++, Notes for Professionals - fileskachat.com, быстрое и бесплатное скачивание.
Скачать djvu
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу
Скачать - djvu - Яндекс.Диск.
Дата публикации:
Теги: учебник по программированию :: программирование
Смотрите также учебники, книги и учебные материалы:
Следующие учебники и книги:
- Linux API, Исчерпывающее руководство, Керриск М., 2019
- JavaScript и jQuery, Интерактивная веб-разработка, Дакетт Д., 2017
- Getting Started with Python, Fabrizio R., Benjamin B., Dusty P., 2019
- C# 7 и .NET Core, Кросс-платформенная разработка для профессионалов, Прайс М.Д., 2018
Предыдущие статьи:
- С++17 STL, Стандартная библиотека шаблонов, Галовиц Я., 2018
- C++, От ламера до программера, Эллайн А., 2015
- Легкий способ выучить Java, Пейн Б., 2019
- Angular и TypeScript, Сайтостроение для профессионалов, Файн Я., Моисеев А., 2018