Permute is a simple program to read lines from standard input and generate all possible permutations of those lines. WWW: http://pigseye.kennesaw.edu/~rbentley/ PR: ports/85865 Submitted by: Erik Greenwald <erik@smluc.org>
15 lines
406 B
C++
15 lines
406 B
C++
--- permute.cpp.orig Fri Jul 14 14:51:01 2000
|
|
+++ permute.cpp Thu Sep 8 07:07:31 2005
|
|
@@ -18,8 +18,10 @@
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
#include <assert.h>
|
|
-#include <iostream.h>
|
|
-#include <string.h>
|
|
+#include <iostream>
|
|
+#include <string>
|
|
+
|
|
+using namespace std;
|
|
|
|
//=============================================================================
|
|
//
|