分页: 1 / 1

ncurses 命令行终端 UI 库

发表于 : 2018年11月26日 11:26
523066680
官网:http://invisible-island.net/ncurses/

MinGW Port
Beginning with ncurses 5.8, ncurses has been ported to Win32 console using MinGW. I have built it both on Windows7 as well as via cross-compiling from FreeBSD, Fedora and Debian. From the latter, I make occasional builds which you may find useful:
32-bit
64-bit


教学以及示例
Programmer's Guide to NCurses
Ncurses Example Source Code
ncurses.png
(8.08 KiB) 已下载 399 次

Re: ncurses 命令行终端 UI 库

发表于 : 2018年11月26日 18:05
523066680

Re: ncurses 命令行终端 UI 库

发表于 : 2018年11月27日 09:55
zzz19760225
WIN10下的32那个
好像没找到有exe的文件

Re: ncurses 命令行终端 UI 库

发表于 : 2018年11月27日 10:29
523066680
zzz19760225 写了:WIN10下的32那个
好像没找到有exe的文件
因为这个是“库”,你需要借用这个库,编译示例程序后才有exe文件

附上编译示例
ncurses_TDMGCC32编译示例.zip
(702.6 KiB) 已下载 315 次
编译脚本compile.bat:
@echo off set PATH=D:\tdm-gcc-32\bin;%PATH% for %%a in (*.c) do ( echo %%a call :func %%a ) pause exit :func gcc "%1" -o "%~n1" ^ -ID:/Lib/ncurses_mingw32/include/ncursesw ^ -ID:/Lib/ncurses_mingw32/include ^ -LD:/Lib/ncurses_mingw32/lib -lncursesw
环境:
tdmgcc32 安装在 D:\tdm-gcc-32
ncurses32位 库文件解压到 D:/Lib/ncurses_mingw32/