| Pointers and types |
pointers_and_types.pas |
pointers_and_types.cpp |
– |
– |
– |
– |
– |
– |
– |
| Pointers definition, initialisation and assignment |
definition_initialisation_and_assignment.pas |
definition_initialisation_and_assignment.cpp |
– |
– |
– |
– |
– |
– |
– |
| Address, indirection, reference and dereference |
– |
address_indirection_reference_and_dereference.cpp |
– |
– |
– |
– |
– |
– |
– |
| Pointers as r- and l-values |
r_and_l_value.pas |
r_and_l_value.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operator reinterpret_cast |
– |
operator_reinterpret_cast.cpp |
– |
– |
– |
– |
– |
– |
– |
| Void pointer |
– |
void_pointer.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operations on arrays with pointers |
– |
operations_on_arrays.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operations on pointers |
– |
operations_on_pointers.cpp |
– |
– |
– |
– |
– |
– |
– |
| Comparing pointers |
comparing_pointers.pas |
comparing_pointers.cpp |
– |
– |
– |
– |
– |
– |
– |
| Passing scalar arguments to the function by a pointer |
– |
passing_scalar_arguments_to_function_by_pointer.cpp |
– |
– |
– |
– |
– |
– |
– |
| Passing array arguments to the function by a pointer |
– |
passing_array_arguments_to_function_by_pointer.cpp |
– |
– |
– |
– |
– |
– |
– |
| Passing arguments to the function by a pointer to a constans |
– |
passing_arguments_to_function_by_pointer_to_const.cpp |
– |
– |
– |
– |
– |
– |
– |
| Passing constans arguments to the function by a pointer |
– |
passing_const_arguments_to_function_by_pointer.cpp |
– |
– |
– |
– |
– |
– |
– |
| Address access by pointer |
address_access.pas |
address_access.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operators new and delete working with pointers |
– |
operators_new_and_delete.cpp |
– |
– |
– |
– |
– |
– |
– |
| Returning a pointer by the function |
– |
returning_pointer_by_function.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operator new with initialisation |
– |
operator_new_with_initialisation.cpp |
– |
– |
– |
– |
– |
– |
– |
| Dynamic memory allocation with the mew operator |
– |
dynamic_memory_allocation.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operations on multidimensional arrays with pointers |
– |
operations_on_multidimensional_arrays.cpp |
– |
– |
– |
– |
– |
– |
– |
| Placement new operator |
– |
placement_new_operator.cpp |
– |
– |
– |
– |
– |
– |
– |
| Memory allocation failure handling: the pointer with value 0 |
– |
memory_allocation_failure_handling_pointer_zero.cpp |
– |
– |
– |
– |
– |
– |
– |
| Memory allocation failure handling: std::bad_alloc exception |
– |
memory_allocation_failure_handling_bad_alloc.cpp |
– |
– |
– |
– |
– |
– |
– |
| Memory allocation failure handling: std::set_new_handler function |
– |
memory_allocation_failure_handling_set_new_handler.cpp |
– |
– |
– |
– |
– |
– |
– |
| Constant pointers and pointers to the constants |
– |
const_pointers_and_pointers_to_const.cpp |
– |
– |
– |
– |
– |
– |
– |
| Default pointer value |
– |
default_pointer_value.cpp |
– |
– |
– |
– |
– |
– |
– |
| Ways of setting pointers |
setting_pointers.pas |
setting_pointers.cpp |
– |
– |
– |
– |
– |
– |
– |
| Operator const_cast |
– |
operator_const_cast.cpp |
– |
– |
– |
– |
– |
– |
– |
| Arrays of pointers |
– |
arrays_of_pointers.cpp |
– |
– |
– |
– |
– |
– |
– |
| Function pointers |
– |
function_pointers.cpp |
– |
– |
– |
– |
– |
– |
– |