用C gotoxy功能(LINUX / UNIX) [英] gotoxy function with C ( linux/unix )

查看:374
本文介绍了用C gotoxy功能(LINUX / UNIX)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在像GNU MC终端软件,我需要gotoxy富,但它是在C.它可以在宏观或C,而不是在ASM code,因为我不`吨知道ASM 。任何运营商位还可以用,但我不知道如何伪code,或如何开始这样做。任何意见将是最AP preciated:)

I am making a terminal software like GNU MC and I need gotoxy foo, but it has to be in C. It can be in macro or in C, but not in ASM code because I don`t know ASM. Any bit operators can be used too, but I had no idea how to pseudocode it or how to start doing this. Any advice will be most appreciated :)

推荐答案

看到ncurses库这样的功能

see the ncurses library for such a function

您需要一些功能从这里列出

you need some function from the listed here

http://tldp.org/HOWTO/NCURSES-Programming- HOWTO / printw.html#PRINTWCLASS

这篇关于用C gotoxy功能(LINUX / UNIX)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆