Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > C++ > Pointer Arithmetic

Pointer Arithmetic

3 of 3     Previous     Next
Using the Standard Library Algorithms with Arrays
by Kevin Spiteri
Pointers may be used as iterators when using the standard library algorithms found in <algorithm>.
Modifying Member Variables Inside const Member Functions
by Amit Gupta
Declaring a member variable as mutable is not the only way to mark it as modifiable within a constant member function.
Arrays of Functions
by David Bandel
Creating arrays of function pointers lets you pass functions as arguments at runtime even when you don't know the exact function needed at design time.
3 of 3     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date