delorie.com/archives/browse.cgi | search |
> You can _use_, i.e., _call_ the same function from many places. But > ncurses does not _call_ getch etc., it _implements_ them. OK understand. And why ncurses cannot use this functions from conio (libc.a) or name them differently? I tried to play with linking order and found that if I link libc first I got any error and it compiles OK. [object files] -lc -lreadline -lncurses And it seems to work for both parts using getch and readline. Which implementation of getch was used? I'm little bit confused of that changing linking order gives different results...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |