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. Other Discussions
  3. Work Issues
  4. MFC GUI for reading in multidimensional matrix elements

MFC GUI for reading in multidimensional matrix elements

Scheduled Pinned Locked Moved Work Issues
c++csshelpquestion
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.
  • K Offline
    K Offline
    Kamal Shankar
    wrote on last edited by
    #1

    I am developing a problem which rquires me to read in variable sized 1D/2D matrices from the user. I can't think of a nice GUI which will make this task easy for the user. All I can come up with is : 1. Ask the user to enter the elements one by one 2. OR, display a textbox where they can type in the matrix (like in MATLAB) Is there any better way to let the user enter the matrix ? I am thinking of something like a dialogbox which will have a textbox for every cell of the matrix. Note that the metrices maybe variable sized and there's no fixed upper limit to the order of the matrices.

    "God then made two great lights; the greater light to rule the day, and the less light to rule the night" - Genesis 47:3

    P 1 Reply Last reply
    0
    • K Kamal Shankar

      I am developing a problem which rquires me to read in variable sized 1D/2D matrices from the user. I can't think of a nice GUI which will make this task easy for the user. All I can come up with is : 1. Ask the user to enter the elements one by one 2. OR, display a textbox where they can type in the matrix (like in MATLAB) Is there any better way to let the user enter the matrix ? I am thinking of something like a dialogbox which will have a textbox for every cell of the matrix. Note that the metrices maybe variable sized and there's no fixed upper limit to the order of the matrices.

      "God then made two great lights; the greater light to rule the day, and the less light to rule the night" - Genesis 47:3

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Maybe some kind of data grid like an Excel spreadsheet where the size of the grid is the dimension of the matrix.

      Kamal Shankar wrote:

      (like in MATLAB)

      ...could work nicely :) Hope this helps.

      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