pointers to arrays

This is a discussion on pointers to arrays within the C++ Programming forums, part of the General Programming Boards category; >>CPP Standard 23.2.4.1 I've gotta get me a copy of that thing... >>then it obeys the identity &v[n] == &v[0] ...

  1. #16
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>CPP Standard 23.2.4.1
    I've gotta get me a copy of that thing...

    >>then it obeys the identity &v[n] == &v[0] + n for all 0 <= n < v.size().
    Silly of me. All this time, I've been looking for a getData() or data() member accessor.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  2. #17
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I've gotta get me a copy of that thing...
    I love it. Best $18 I've ever spent.

    I love the section on what changed between C and C++ and why

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with returning arrays using pointers
    By cuba06 in forum C Programming
    Replies: 9
    Last Post: 11-23-2007, 09:40 AM
  2. Array of Pointers to Arrays
    By Biozero in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 02:31 PM
  3. Pointers and multi dimensional arrays
    By andrea72 in forum C++ Programming
    Replies: 5
    Last Post: 01-23-2007, 03:49 PM
  4. pointers and arrays..
    By ahming in forum C Programming
    Replies: 1
    Last Post: 04-24-2004, 03:12 AM
  5. Stack functions as arrays instead of node pointers
    By sballew in forum C Programming
    Replies: 8
    Last Post: 12-04-2001, 10:13 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21