Image noise/OCaml/Xlib: Difference between revisions
Content added Content deleted
(some explanations) |
(native-code command lines) |
||
Line 143: | Line 143: | ||
print_float fps; |
print_float fps; |
||
print_newline()</lang> |
print_newline()</lang> |
||
you can also compile this program to native-code with the following command: |
|||
:$ ocamlopt -I +Xlib Xlib.cmxa unix.cmxa noise_fps_x.ml -o noise_fps_x.opt |
|||
and then execute the result with: |
|||
:$ ./noise_fps_x.opt |