Hey all. Just a quick one.
I was reading about a function called getyx() available only on Linux systems. I was wondering if there is a Windows equivalent out there.
P.S. It also says one of it's arguements was a WINDOW variable. Is it normal that I've never heard of these before? What are they, and how are they different to HWNDs? Thanks again.
Cool cheers :)
Thanks for the link Salem!
So am I right in thinking it is not only for linux systems? And that Windows programmers can use it as well providing that they have the header? If I understand correctly, then I need a place to download it. I realize that I could probably get it from a google search with a query (sp?) of "ncurses.h" , but I have 2 reasons for not doing so.
1. When I searched for it tons of info about it came up, but with no download links, so it would take ages to find a decent site.
2. (The more important of the one I think,) I don't know which sites I can trust.
i.e. The site may be riddled with viruses and, as it is programming related, the authors probably possess the knowlage to do this, or the files provided may not be up to date. (Or something along those lines anyway.)
I know how much people here hate it when others ask for help without trying hard enough first, so I expect I'll get flamed for this, but if you know a decent site to download this header from off the top of your head, then please do share it with me. (And anyone else who may be reading this thread.)
Well there are win32 ports of ncurses, which allows you to write such programs in a win32 console environment.
But the result will still look somewhat like a terminal oriented display.
It depends what you want to achieve.
Yeah, I don't mind that. It's only for a dead simple console app. I'm using it to format the output layout in an encryption algorithm testing prog, so once the algorithm is complete, the program probably won't be used for anything really important.
Originally Posted by Salem
Know where I can get one of these ports?
Again, I tried to google it but nothing stood out as helpful.
Cygwin can come with ncurses, if you ask it nicely. It also comes with bash and gcc and make and ls and all sorts of UNIX commands. You might not need everything that it has now, but you might later.