diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/docbytex/base.c')
-rw-r--r-- | Master/texmf-dist/doc/generic/docbytex/base.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/docbytex/base.c b/Master/texmf-dist/doc/generic/docbytex/base.c new file mode 100644 index 00000000000..b2d1ce368b8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/docbytex/base.c @@ -0,0 +1,17 @@ +#include <stdio.h> + +//: dvojice + +struct dvojice { + float x, y; +}; + +//: uzasna_funkce + +struct dvojice uzasna_funkce (float p) +{ + struct dvojice navrat; + navrat.x = 2*p; // tady nasobim p dvema + navrat.y = 3*p; // tady nasobim p tremi + return navrat; +} |