如何使用Ncurses库创建文本编辑器 [英] How Do I Create A Text Editor Using Ncurses Library
本文介绍了如何使用Ncurses库创建文本编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我需要创建一个简单的文本编辑器,可以打开,编辑和保存pcode文件。
我必须为此使用curses库。你能不能给我一个这个程序的片段,至少可以打开并保存文件?非常感谢。
Hello,
I need to create a simple text editor that can open, edit and save pcode files.
I have to use the curses library for this. Could you please give me a snippet of this program that can at least open and save the file? Thank you very much.
推荐答案
请努力做自己的研究: https://www.google.com/search?q=c%20open%20file [ ^ ]。
Please make an effort to do your own research: https://www.google.com/search?q=c%20open%20file[^].
这篇关于如何使用Ncurses库创建文本编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文