Robots/Wren: Difference between revisions
m
→Code: Fixed syntax highlighting.
(→Code: Sharper colors.) |
m (→Code: Fixed syntax highlighting.) |
||
Line 1:
===Code===
{{trans|Go}}
{{libheader|ncurses}}
Line 7:
{{works with|Ubuntu 20.04}}
An embedded script so we can use the ncurses library.
<
import "./dynamic" for Struct
Line 298:
NC.echo()
NC.endwin()
NC.cursSet(1)</
<br>
We now embed this in the following C program, build and run it.
<
#include <stdio.h>
Line 519:
free(script);
return 0;
}</
|