g++ conio.h: no such file or directory

后端 未结 3 1167
执笔经年
执笔经年 2021-01-11 16:38

I\'m trying to write a program with g++ that uses conio.h header. What I\'m actually trying to do is calling gotoxy function which I used in Borlan

3条回答
  •  盖世英雄少女心
    2021-01-11 17:02

    conio.h is specific to the Windows console environment. Use the curses or ncurses library on Unix; the appropriate function is mvcur() in the low level interface and wmove() in the virtual window interface.

提交回复
热议问题