CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Location
    Singapore
    Posts
    40

    searching and sorting

    hi can anyone show me how to write a simple program on searching (linear and binary) and sorting (quick,bubble,selection and insertion) or direct me to a website with workable program and a good explanation. i need to write those program out for my school project. But after searching some site i got more confusing and have no idea on how to write a program either.

    hope some one can help with this. thanks

  2. #2
    Join Date
    May 2005
    Posts
    47

    Thumbs up Re: searching and sorting

    Quote Originally Posted by gret
    hi can anyone show me how to write a simple program on searching (linear and binary) and sorting (quick,bubble,selection and insertion) or direct me to a website with workable program and a good explanation. i need to write those program out for my school project. But after searching some site i got more confusing and have no idea on how to write a program either.

    hope some one can help with this. thanks
    They are all in teh example folder of your java directories you installed on your system.


    7-11


  3. #3
    Join Date
    Feb 2004
    Location
    USA - Florida
    Posts
    729

    Re: searching and sorting

    For sorting, try http://en.wikipedia.org/wiki/Sorting_algorithm and http://linux.wku.edu/~lamonml/algor/sort/

    The 2nd link contains code in C though, but it's very similiar to Java.
    Hungarian notation, reinterpreted? http://www.joelonsoftware.com/articles/Wrong.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured