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. Managed C++/CLI
  4. Problem in using CList

Problem in using CList

Scheduled Pinned Locked Moved Managed C++/CLI
helpc++
2 Posts 2 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

    Hi All, I was trying to explore the working of double Linklist in MFC using CList. I have created a struct such as struct XXXX{ char buff[10]; char buff1[10]; }YYY; then CList my_list; my_list.AddHead(); This is working fine . But my problem is when i want do ... struct zzzz{ char buff[10]; char buff1[10]; }PPP; struct XXXX{ CListmy_second_Struct; char buff[10]; char buff1[10]; }YYY; Is it help me to achive my goal. If Not please help me Regards &Thanks Neeraj Kumar Jha

    C 1 Reply Last reply
    0
    • G GudduRanchi

      Hi All, I was trying to explore the working of double Linklist in MFC using CList. I have created a struct such as struct XXXX{ char buff[10]; char buff1[10]; }YYY; then CList my_list; my_list.AddHead(); This is working fine . But my problem is when i want do ... struct zzzz{ char buff[10]; char buff1[10]; }PPP; struct XXXX{ CListmy_second_Struct; char buff[10]; char buff1[10]; }YYY; Is it help me to achive my goal. If Not please help me Regards &Thanks Neeraj Kumar Jha

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      My overall advice is that you'd do better to learn to use the stl::list instead of the MFC one. Either way, which ever you use, it's not a managed C++ construct, so you're in the wrong forum.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      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