This example reads with the standard C-function scanf a INT variable from stdin, and generates a permutation of the entered length, the entries of the list, representing the permutation are empty objects ( = # ). #include "def.h" #include "macro.h" main() { OP a; INT l; anfang(); a = callocobject(); scanf("%ld",&l); m_il_p(l,a); println(a); freeall(a); ende(); }
Send comments or suggestions to:
symmetrica (at) symmetrica
this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa