Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. How to see content of an array within an array in debug watch window

How to see content of an array within an array in debug watch window

Scheduled Pinned Locked Moved Visual Studio
data-structuresdebugginghelptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Electronic75
    wrote on last edited by
    #1

    Hi I have defined an struct which has an array within it and then I have defined an array of that struct how can I see a specific member of second array in debug time. the actual situation is even more complex and I have several levels of arrays nested within each other but I thing if I know how to do it following code then I can solve my problem...

    typedef struct tag_myStruct
    {
    CArray <int> aInt;
    CArray <MyClass> aMyClass;
    .
    .
    .
    }MyStruct;

    CArray<MyStruct> m_aMyStruct;//Let's Say I want to see m_aMyStruct[2].aInt[3]

    thanks:rose:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups