如何下载,将NCurses添加到Code :: Blocks 16.01 IDE for Windows 10

时间:2016-06-29 23:48:50

标签: c windows-10 codeblocks ncurses

我的 Code :: Blocks 16.01 IDE for Windows 10找不到var postSchema = new Schema({ autor: {type: Schema.Types.ObjectId, ref: 'user', required: true}, texto: {type: String}, likes: [{type: Schema.Types.ObjectId, ref: 'like'}], }); var likeSchema = new Schema({ user: {type: Schema.Types.ObjectId, ref: 'user', required: true}, post: {type: Schema.Types.ObjectId, ref: 'post', required: true}, _created_at:{type: Date}, }); 。 我发现this,但是我不知道如何使用它,即使我试图在 Code :: Blocks 的链接器设置中链接它。此外,我不知道它是否适用于Windows或适用于Linux。

1 个答案:

答案 0 :(得分:2)

ncurses是一个基于文本的C图形库 在类似Unix的操作系统上支持,而不是在Windows上支持。所以你可以使用 如果您在类似Unix的操作系统(如Linux)上编写C语言。您选择的IDE并不重要。

在Windows上,您可以在类似unix的环境中使用它,例如CygwinMSYS2,但你几乎不想 为了编写ncurses程序,请转到

有一个非常相似的图书馆PDCurses 在Windows上支持,还有Project Pluto fork of PDCurses 第一个提供binary distibution, 但它的历史可以追溯到2008年。在这两种情况下,都有GitHub存储库托管的链接 最新的源代码,您可以根据项目的README.md文件中的说明自行构建库。