DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦c9e21c380⟧ TextFile

    Length: 315 (0x13b)
    Types: TextFile
    Names: »tsortinp.cc«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦cc8755de2⟧ »./libg++-1.36.1.tar.Z« 
        └─⟦23757c458⟧ 
            └─⟦this⟧ »libg++/etc/tsortinp.cc« 

TextFile

//  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";

}