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.
This is an unofficial free book created for educational purposes and is not affiliated with official C++ group(s) or company(s) nor Stack Overflow. All trademarks and registered trademarks are the property of their respective company owners.
Comments.
A comment is a way to put arbitrary text inside source code without having the C++ compiler interpret it with any functional meaning. Comments are used to give insight into the design or method of a program.
There are two types of comments in C++:
Single-Line Comments
The double forward-slash sequence // will mark all text until a newline as a comment:
int main() {
// This is a single-line comment, int a; // this also is a single-line comment int i; // this is another single-line comment >
C-Style/Block Comments
The sequence /* is used to declare the start of the comment block and the sequence */ is used to declare the end of comment. All text between the start and end sequences is interpreted as a comment, even if the text is otherwise valid C++ syntax. These are sometimes called "C-style" comments, as this comment syntax is inherited from C++'s predecessor language, C:
int main()
{ /* * This is a block comment. */ int a; >
Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу C++, Notes For Professionals - fileskachat.com, быстрое и бесплатное скачивание.
Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу
Скачать - pdf - Яндекс.Диск.
Дата публикации:
Хештеги: #C++
Смотрите также учебники, книги и учебные материалы:
Следующие учебники и книги:
- Django, подробное руководство, Головатый А., Каплан-Мосс Д., 2010
- Deadline, роман об управлении проектами, Демарко Т., 2017
- CSS Notes For Professionals
- C Sharp Notes For Professionals
Предыдущие статьи:
- C Notes For Professionals
- Чистый Python, тонкости программирования для профи, Бейдер Д., 2018
- Python-cheatsheet Documentation, 2018
- Django, разработка веб-приложений на Python, Форсье Д., Биссекс Я., Чан У., 2010