more eyecandy with drand48
This commit is contained in:
parent
2f5617d3b4
commit
608e29911f
@ -25,7 +25,7 @@ for (loop=0; loop<nbl; loop++) {
|
|||||||
for (idx=0; idx<4; idx++) {
|
for (idx=0; idx<4; idx++) {
|
||||||
|
|
||||||
hpos = 5 * (idx+1);
|
hpos = 5 * (idx+1);
|
||||||
|
value = drand48();
|
||||||
sprintf(ligne, "%6.3f", value);
|
sprintf(ligne, "%6.3f", value);
|
||||||
mvwaddstr(stdscr, hpos, 2, ligne);
|
mvwaddstr(stdscr, hpos, 2, ligne);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user