cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
sort a struct based on one member's alp
Page 2
sort a struct based on one member's alpha?
Pages:
1
2
Jan 9, 2012 at 10:52pm UTC
sjahf7
(17)
One last thing, is there an advantage to not declaring the
std
namespace at the outset, but rather writing
std::
before every member function?
Jan 9, 2012 at 10:53pm UTC
sjahf7
(17)
Also thank you bluecoder, works like a charm!
Jan 10, 2012 at 1:34am UTC
firedraco
(6247)
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.
Jan 10, 2012 at 3:46am UTC
sjahf7
(17)
thank you all
Topic archived. No new replies allowed.
Pages:
1
2