Читаем C++ Primer Plus полностью

register keyword, 472

reinterpret_cast operators, 946

relational operators, 217–220

C-style strings, comparing, 220–223

equality operator (==), 218–220

functor equivalents, 1031–1032

string class strings, comparing, 223–224

table of, 217

relationships

has-a, 721, 788

is-a, 720–722, 772, 808

remodel() function, 971

remote_access() function, 468

remove_copy() function, 1295, 1300

remove_copy_if() function, 1295, 1300

remove() function, 1295, 1299

remove_if() function, 1295, 1300

remove_if() method, 1280

remove() method, 1280

rend() method, 1251–1252, 1275

replace_copy() function, 1294, 1298

replace_copy_if() function, 1294, 1298

replace() function, 1294, 1298, 1302

replace_if() function, 1294, 1298

replace() method, 1268–1269

replacing strings, 1268–1269

report() function, 859

reserve() method, 966, 1258, 1279

reserved names, 1222–1223

reserved words, 1221

alternative tokens, table of, 1222

keywords, table of, 1221

reserved names, 1222–1223

ResetRanking() method, 718

resize() method, 1047, 1258, 1278

return addresses, 909

return statements, 30

return types, declarations, 1157

return types (functions), 30

return values, 31

return values (functions), 49, 57–59

returning

C-style strings, 341–343

references, 399

structures, 344–345, 348–351

returning objects, 662–664

const objects, 662–665

non-const objects, 663

reverse_copy() function, 1295, 1301

reverse() function, 1295

reverse iterators, 1003–1005

reverse() method, 1252, 1280

reversible containers

associative, multimap, 1023–1025

list, 1014, 1017

member functions, 1014–1016

vector, 1012–1013

review questions

chapter 2, 62

chapter 3, 110–111

chapter 4, 191–192

chapter 5, 250

chapter 6, 298–300

chapter 7, 372–373

chapter 8, 443–444

chapter 9, 498–501

chapter 10, 558–559

chapter 11, 623

chapter 12, 700–702

chapter 13, 779–780

chapter 14, 869–870

chapter 15, 947–949

chapter 16, 1056–1057

chapter 17, 1146–1147

chapter 18, 1209–1212

rewrite rule, 517

rfind() method, 961, 1261

right manipulator, 1091

right shift and assign operator ([]=), 1237

right shift operator ([]), 1236

Ritchie, Dennis, 11

rotate_copy() function, 1295, 1302

rotate() function, 1295, 1301

RTTI (runtime type information), 933–934

incorrect usage, 941–943

operators

dynamic cast, 934–939

typeid, 934, 939, 941, 944

type info class, 939–941, 944

type info structure, 934

rtti1.cpp, 936–938

rtti2.cpp, 939–941

ruler.cpp, 360

runtime, 155

runtime_error exception, 919

runtime type information, 933

rvalue reference, 1162–1164

constructors, C++11, 1256

rvalues, 400

S

Sales class

sales.cpp, 924

sales.h, 922

use_sales.cpp, 925–927

sales.cpp, 924

sales.h, 922

sayings1.cpp, 656

sayings2.cpp, 665

SCHAR_MAX constant, 72

SCHAR_MIN constant, 72

scientific manipulator, 1091

scope, 454, 483

class, 454, 514

class scope, 549–551

function prototype, 454

global, 454

local, 454–457

namespace, 454

nested classes, 891–892

potential, 483

scope-resolution operator (::), 467, 514, 1332

scoped enumerations, 1158

C++11, 551–552

search() function, 1288, 1292–1293

search_n() function, 1288, 1293

searching strings, 960–961, 1260

find_first_not_of() method, 1262–1263

find_first_of() method, 1262

find_last_not_of() method, 1263

find_last_of() method, 1262

find() method, 1260–1261

rfind() method, 1261

secref.cpp, 385

seekg() method, 1134–1136

Перейти на страницу:

Все книги серии Developer's Library

C++ Primer Plus
C++ Primer Plus

C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages.The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard.Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use.Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts.In C++ Primer Plus, you'll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning:• A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard• Complete, integrated discussion of both basic C language and additional C++ features• Clear guidance about when and why to use a feature• Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time• Hundreds of practical sample programs• Review questions and programming exercises at the end of each chapter to test your understanding• Coverage of generic C++ gives you the greatest possible flexibility• Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespaces

Стивен Прата

Программирование, программы, базы данных

Похожие книги

1С: Бухгалтерия 8 с нуля
1С: Бухгалтерия 8 с нуля

Книга содержит полное описание приемов и методов работы с программой 1С:Бухгалтерия 8. Рассматривается автоматизация всех основных участков бухгалтерии: учет наличных и безналичных денежных средств, основных средств и НМА, прихода и расхода товарно-материальных ценностей, зарплаты, производства. Описано, как вводить исходные данные, заполнять справочники и каталоги, работать с первичными документами, проводить их по учету, формировать разнообразные отчеты, выводить данные на печать, настраивать программу и использовать ее сервисные функции. Каждый урок содержит подробное описание рассматриваемой темы с детальным разбором и иллюстрированием всех этапов.Для широкого круга пользователей.

Алексей Анатольевич Гладкий

Программирование, программы, базы данных / Программное обеспечение / Бухучет и аудит / Финансы и бизнес / Книги по IT / Словари и Энциклопедии
1С: Управление торговлей 8.2
1С: Управление торговлей 8.2

Современные торговые предприятия предлагают своим клиентам широчайший ассортимент товаров, который исчисляется тысячами и десятками тысяч наименований. Причем многие позиции могут реализовываться на разных условиях: предоплата, отсрочка платежи, скидка, наценка, объем партии, и т.д. Клиенты зачастую делятся на категории – VIP-клиент, обычный клиент, постоянный клиент, мелкооптовый клиент, и т.д. Товарные позиции могут комплектоваться и разукомплектовываться, многие товары подлежат обязательной сертификации и гигиеническим исследованиям, некондиционные позиции необходимо списывать, на складах периодически должна проводиться инвентаризация, каждая компания должна иметь свою маркетинговую политику и т.д., вообщем – современное торговое предприятие представляет живой организм, находящийся в постоянном движении.Очевидно, что вся эта кипучая деятельность требует автоматизации. Для решения этой задачи существуют специальные программные средства, и в этой книге мы познакомим вам с самым популярным продуктом, предназначенным для автоматизации деятельности торгового предприятия – «1С Управление торговлей», которое реализовано на новейшей технологической платформе версии 1С 8.2.

Алексей Анатольевич Гладкий

Финансы / Программирование, программы, базы данных