sort a struct based on one member's alpha?

Pages: 12
One last thing, is there an advantage to not declaring the std namespace at the outset, but rather writing std:: before every member function?
Also thank you bluecoder, works like a charm!
One last thing, is there an advantage to not declaring the std namespace at the outset, but rather writing std:: before every member function?


You won't pollute the global namespace with it's functions so you can have a variable named "count" for example.
thank you all
Topic archived. No new replies allowed.
Pages: 12