Sorting method with student details.

This is a discussion on Sorting method with student details. within the C Programming forums, part of the General Programming Boards category; Hi, am fresher in C programming . i would like to implement the code for student details (roll no, name, ...

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Cool Sorting method with student details.

    Hi,

    am fresher in C programming . i would like to implement the code for student details (roll no, name, marks(m1, m2,m3),avg,tot, grade using sorting methods. like(at same code- need to use five sorting methods :- merge sort, bubble sort, insertion sort, selection sort,etc.,). Will you tell how can i develop ? any sample reference code pls.

    With kind regards...

    Danush appanadesh...
    Last edited by danush; 09-09-2010 at 01:56 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,794
    I suggest that you start by learning those five sorting algorithms that you intend to implement by reading about them and then implementing them to sort integers.

    After that, you create your struct for student details, and adapt what you implemented to sort these structs.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Smile

    Ok, i will try my best..

    Thank you ..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. Replies: 2
    Last Post: 01-22-2008, 03:22 PM
  3. Database assignment is Killing me!
    By Boltrig in forum C Programming
    Replies: 2
    Last Post: 11-29-2007, 02:56 AM
  4. Best sorting method to use
    By pelp in forum C++ Programming
    Replies: 3
    Last Post: 03-11-2003, 11:30 PM
  5. Sorting words with a fast, effincient sorting method
    By Unregistered in forum C++ Programming
    Replies: 19
    Last Post: 07-12-2002, 04:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21