我想向窗口添加字符串,而getline()正在從打開的文本文件中獲取行。 ncurses的使用和C++,我做了以下內容: string line; //String to hold content of file and be printed
ifstream file; //Input file stream
file.open(fileName) //Opens f
我正在使用ncurses,並且正在嘗試創建一個將打印一個框的類。 我班 class CMenu{
public:
CMenu(int x , int y){
this -> x = x;
this -> y = y;
createMenu();
}
void createMenu(){
start_color();