look at the following example, which computes all tableaux of given shape and content, stores them in a file and reads this back from the file, and prints them #include "def.h" #include "macro.h" main() { OP a,b,c,d; FILE *fp1,*fp2; anfang(); a=callocobject(); b=callocobject(); c=callocobject(); d=callocobject(); fp1=fopen("xxx","w"); scan(PARTITION,a); scan(PARTITION,d); kostka_tab(a,d,b); objectwrite(fp1,b);fclose(fp1); fp2=fopen("xxx","r"); objectread(fp2,c); println(c); freeall(a); freeall(b); freeall(c); freeall(d); 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