|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 315 (0x13b)
Types: TextFile
Names: »tsortinp.cc«
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
└─⟦cc8755de2⟧ »./libg++-1.36.1.tar.Z«
└─⟦23757c458⟧
└─⟦this⟧ »libg++/etc/tsortinp.cc«
// Here's a short program that generates acyclic input to test this program
// against the UNIX tsort.
#include <stream.h>
main(int argc,char *argv[])
{
int Dimension = atoi(argv[1]);
for (int y = 1; y < Dimension; y++)
for (int x = 0; x < y; x++)
cout << dec(y,4) << dec(x,4) << "\n";
}