There is a swap() function in the standard template library's <algorithm>
header. In theory they are all in the std namespace, but the current MinGW
compiler used with Dev-C++ isn't that standards compliant yet, so the std
namespace is part of the global namespace.
On the whole a swap function is easy to write anyway.
Jason.
----- Original Message -----
From: "Mansoor Nathani" <man...@sy...>
To: <dev...@li...>
Sent: Thursday, October 04, 2001 5:09 AM
Subject: [Dev-C++] Thankyou
> Thank you for your swift replies ..
>
> I appologise, but I am a Grade 12 student who has a terrible teacher and
> an assignment due. That explains why I was asking silly questions.
>
> I need one more thing..
>
> what library do I need to include for the
>
> swap(...) function?
>
> M.N
>
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|