这是graphic.txt的内容

问题描述 投票:0回答:1
------------------------------------------------------- | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------- Hello there!

这是我的程序输出的内容


   -------------------------------------------------------
   |                                                     |
   |                                                     |
   |                                                     |
   |                                                     |
   |                                                     |
   |                                                     |
   |                                                     |
   |                                   ^]"b

我的代码是否有问题,或者pdcurses是否有问题?如标题中所述,ncurses在Linux上可以正常工作,但是我正在尝试使用pdcurses在Windows上进行编译。

以下是我的代码,证明长字符串无法使用pdcurses打印。 #include 

#include

#define大小256 void get_file_data(char *文件名,char * ...
c linux windows ncurses pdcurses
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.