Soldato
- Joined
- 15 Feb 2011
- Posts
- 10,234
- Location
- Slough
for my coursework i need to implement the convex hull algorithm in a GUI. part of this involves sorting a 2D array of co-ordinates by their X co-ordinate, but the lecturer has said that this is not an important thing and we should steal a sorting function from a library.
however, being a complete noob at programming i dont know which C++ library will have what i need, and if the sort will keep the X and Y co-ordinates together or not, so if someone could point me in the direction of the library and function i need it would be much appreciated
ps, dont be surprised if i come on here asking for help with a GUI, because we havent been taught how to do one
however, being a complete noob at programming i dont know which C++ library will have what i need, and if the sort will keep the X and Y co-ordinates together or not, so if someone could point me in the direction of the library and function i need it would be much appreciated

ps, dont be surprised if i come on here asking for help with a GUI, because we havent been taught how to do one