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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to simulate map c++ collection in c#

How to simulate map c++ collection in c#

Scheduled Pinned Locked Moved C#
csharpc++tutorial
3 Posts 3 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.
  • R Offline
    R Offline
    Rostrox
    wrote on last edited by
    #1

    Look at the next C++ code: 1) Defining map const int cols=15; struct stTot { string strDesc; double fTots[cols]; } myTot; map mpLis; map::iterator it; 2) Loading map int iCnt = 0; myTot.strDesc = (LPCTSTR)some_string; for (int v=0; j

    K H 2 Replies Last reply
    0
    • R Rostrox

      Look at the next C++ code: 1) Defining map const int cols=15; struct stTot { string strDesc; double fTots[cols]; } myTot; map mpLis; map::iterator it; 2) Loading map int iCnt = 0; myTot.strDesc = (LPCTSTR)some_string; for (int v=0; j

      K Offline
      K Offline
      Kentamanos
      wrote on last edited by
      #2

      Do me a favor and modify your post. This time, click the "Do not treat <'s as HTML tags" checkbox. I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf. -David St. Hubbins

      1 Reply Last reply
      0
      • R Rostrox

        Look at the next C++ code: 1) Defining map const int cols=15; struct stTot { string strDesc; double fTots[cols]; } myTot; map mpLis; map::iterator it; 2) Loading map int iCnt = 0; myTot.strDesc = (LPCTSTR)some_string; for (int v=0; j

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        See System.Collections.Hashtable.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        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