Using scanw Ncurses in D lang

Gabol gabriellucena337 at outlook.com
Sat Jun 15 21:20:14 UTC 2019


how can I use the scanw() function; of the ncurses of the 
deimos.ncurses project since the conventional mode does not work
example: scanw("% i", & number); // The compiler accuses error.

Error: function deimos.ncurses.curses.scanw(char* fmt, ...) is 
not callable using argument types (string, int*)
source/app.d(8,14):        cannot pass argument "0" of type 
string to parameter char* fmt
/usr/bin/dmd failed with exit code 1.


More information about the Digitalmars-d-learn mailing list