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. C / C++ / MFC
  4. Problem using CList ?

Problem using CList ?

Scheduled Pinned Locked Moved C / C++ / MFC
helpperformancequestion
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.
  • G Offline
    G Offline
    GudduRanchi
    wrote on last edited by
    #1

    I have created a structure as typedef struct __test{ char buf[10]; }TEST,*PTEST; then i created a CList object as CListmy_firststruct; then i am using to store linklist if( my_firststruct.IsEmpty()) my_firststruct.Addhead(pTest); else my_firststruct.AddTail(pTest); It is working fine. But problem start when i am using as typedef struct __Second{ char buf[10]; }SECOND,*PSECOND; typedef struct __test{ CListmy_secondstruct; char buf[10]; }TEST,*PTEST; if(pTest->my_secondstruct.IsEmpty()) when i am trying to call this is giving me error error code is C0000005: This error is with memory. So how i will resolve this error. Can any one help me on this...?

    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