The pointer arithmetic allows us to navigate through array elements conveniently.
At the same time, powerful pointer arithmetic can be a source of errors.
show several important facets of pointer arithmetic.
Because of this, it is these types that should be used as indexes for large arrays, for storage of pointers and pointer arithmetic.
По этой причине именно эти типы следует использовать в качестве индексов больших массивов, для хранения указателей и арифметики с указателями.
Note that pointer arithmetic (addition and subtraction) does not modify the segment portion of the pointer, only its offset.
In this article we'll discuss pointer operators, pointer arithmetic, and two situations in which pointers can improve your code.
В данной статье мы обсудим операторы указателей, арифметику указателей и две ситуации, в которых указатели могут улучшить наш код.
Address arithmetic is also called pointer arithmetic.
Адресную арифметику также называют арифметикой над указателями (pointer arithmetic).
Its unique approach goes way beyond how-to and syntax manuals, as it covers key learning topics such as dynamic memory management, pointers and pointer arithmetic, and language basics.
Его уникальный подход выходит далеко за рамки практических инструкций и руководств по синтаксису, поскольку он охватывает ключевые темы обучения, такие как динамическое управление памятью, указатели и арифметика указателей, а также основы языка.
They are not like C pointers; for instance, you cannot perform pointer arithmetic using them, they are not actual memory addresses, and so on.
Они не похожи на указатели С; например, вы не можете делать вычисления над указателями, они не являются реальными адресами в памяти и т.д.
Good code is not replete with question mark colon operators and pointer arithmetic, or at least not when the code doesn't need to be optimized to save a few seconds every few months of operation.
Хороший код не изобилует тернарными операторами и арифметикой указателей, и, по крайней мере, не должен быть оптимизированным, чтобы сэкономить несколько секунд операции, которая выполняется раз в несколько месяцев.
One further note concerning flag generation is that one must necessarily use pointer arithmetic to generate flags for asynchronous FIFO implementations.
Заметим ещё, что для генерации флагов в асинхронных реализациях FIFO нужно обязательно использовать арифметические указатели.
Pointer arithmetic provides the programmer with a single way of dealing with different types: adding and subtracting the number of elements required instead of the actual offset in bytes.
Арифметика с указателями дает программисту возможность работать с разными типами одинаковым способом: за счет сложения и вычитания необходимого числа элементов вместо действительного сдвига байтов.