Multi-dimensional Arrays

Discussion in 'C++' started by mshetty@mail.com, Oct 10, 2006.

  1. Guest

    Hi,

    I am totally confused with the concept of arrays in CPP.

    Is a 3D Char array equivalent to a 2D String array?

    Thanks and Regards,
    M Shetty
    , Oct 10, 2006
    #1
    1. Advertising

  2. wrote:
    > Hi,
    >
    > I am totally confused with the concept of arrays in CPP.
    >
    > Is a 3D Char array equivalent to a 2D String array?


    What do you mean by "String"? BTW, the type is actually
    "char", C++ is case sensitive, let's not forget that.

    If by "String" you mean "an array of char", then yes, a 2D
    array of "String" is in fact a 2D array of "array of char",
    or, by definition, a 3D array of char.

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
    Victor Bazarov, Oct 10, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    8,604
    Jim Lewis
    Mar 21, 2006
  2. Alf P. Steinbach
    Replies:
    0
    Views:
    415
    Alf P. Steinbach
    Aug 18, 2003
  3. John Harrison
    Replies:
    4
    Views:
    6,905
    Default User
    Aug 19, 2003
  4. Icosahedron
    Replies:
    8
    Views:
    635
    Vivek
    Aug 21, 2003
  5. Wirianto Djunaidi
    Replies:
    2
    Views:
    193
    Wirianto Djunaidi
    Apr 29, 2008
Loading...

Share This Page