Sorting multidimensional arrays

Discussion in 'C++' started by Gaspard Kayitare, Apr 17, 2005.

  1. I would like to know how to use multidimensional arrays principles for
    sorting grades for four students obtained in four subjects.I am
    supposed to arrange the data in a form of a table,students names by
    rows and subjects/course units by columns.How should I organise my c++
    code.The program should sort the grades of each students in ascending
    or descending orders.
     
    Gaspard Kayitare, Apr 17, 2005
    #1
    1. Advertisements

  2. Gaspard Kayitare

    Allan Bruce Guest

    Why not just have one array of class Student which would store the data of
    one row?
    Allan
     
    Allan Bruce, Apr 17, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.