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