blob: e221b739a3977514546036c753a90f4bb1f74734 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# data file for the Fltk User Interface Designer (fluid)
version 0.99
gridx 10
gridy 10
snap 3
decl {// This is a demo of fluid used to write a normal C program} {}
decl {\#include <stdio.h>} {}
Function {main()} {open selected
} {
code {printf("%d ", 2);} {}
codeblock {for (int x=3; x < 10000; x += 2)} {open
} {
code {for (int y=3; x%y; y += 2)} {}
codeblock {if (y*y > x)} {open
} {
code {printf("%d ", x);
break;} {}
}
}
}
|