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 / C++ / MFC
  4. bitmap

bitmap

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsdata-structurestutorialquestion
6 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.
  • S Offline
    S Offline
    srija
    wrote on last edited by
    #1

    How to output a two dimensional array of datatype int array[x][y]in a Listbox control?

    V 1 Reply Last reply
    0
    • S srija

      How to output a two dimensional array of datatype int array[x][y]in a Listbox control?

      V Offline
      V Offline
      voorugonda prashanth
      wrote on last edited by
      #2

      may i know what u r trying to do actually? how u need the output??? Regards, Prashanth.v

      S 1 Reply Last reply
      0
      • V voorugonda prashanth

        may i know what u r trying to do actually? how u need the output??? Regards, Prashanth.v

        S Offline
        S Offline
        srija
        wrote on last edited by
        #3

        I would like to access each and every element in this array[100][100], in either list box or Edit box...but i couldnt get any result, my programm is gettign hanged,, plz help me For eg: int array[100][100]; CListbox m_intoutput;CEdit m_intoutput; for(int i=0;i<100;i++) for(int j=0;j<100;j++) { m_intoutput=array[100][100]; }

        V H 2 Replies Last reply
        0
        • S srija

          I would like to access each and every element in this array[100][100], in either list box or Edit box...but i couldnt get any result, my programm is gettign hanged,, plz help me For eg: int array[100][100]; CListbox m_intoutput;CEdit m_intoutput; for(int i=0;i<100;i++) for(int j=0;j<100;j++) { m_intoutput=array[100][100]; }

          V Offline
          V Offline
          voorugonda prashanth
          wrote on last edited by
          #4

          hii srija, int array[100][100]; CListbox m_intoutput;CEdit m_intoutput; for(int i=0;i<100;i++) for(int j=0;j<100;j++) { CString str; str.Format("%d",array[i][j]); m_intoutput.Addstring(str); } Regards, Prashanth.v

          S 1 Reply Last reply
          0
          • S srija

            I would like to access each and every element in this array[100][100], in either list box or Edit box...but i couldnt get any result, my programm is gettign hanged,, plz help me For eg: int array[100][100]; CListbox m_intoutput;CEdit m_intoutput; for(int i=0;i<100;i++) for(int j=0;j<100;j++) { m_intoutput=array[100][100]; }

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            what so you want ecatly? what is this? m_intoutput=array[100][100];??

            1 Reply Last reply
            0
            • V voorugonda prashanth

              hii srija, int array[100][100]; CListbox m_intoutput;CEdit m_intoutput; for(int i=0;i<100;i++) for(int j=0;j<100;j++) { CString str; str.Format("%d",array[i][j]); m_intoutput.Addstring(str); } Regards, Prashanth.v

              S Offline
              S Offline
              srija
              wrote on last edited by
              #6

              Ya, even i did so, but am getting junk values as output, for eg:-85899 -85899 -85899 -85899................ Waht could be the reason?

              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