Hello.
I was wondering if i can use curses lib for windows with C language.
This is what i've found.
PDCurses - Public Domain Curses
whats your opinion?
Thanks in advanced.
Hello.
I was wondering if i can use curses lib for windows with C language.
This is what i've found.
PDCurses - Public Domain Curses
whats your opinion?
Thanks in advanced.
Yes.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Hmm i create the .lib file with nmake and in the project (Visual studio 2010) in
properties/Linker/Input/aditional dependancies i add 'pdcurses.lib' (without quotes).
Then im trying to compile a simple hello world and this error
What that means. ?1>LINK : fatal error LNK1104: cannot open file 'pdcurses.lib'
I search in c:\windows\system32 and i ve found the file pdcurses.lib
Why this happens . Does anyone know ?
EDIT:
Finally instead of pdcurses.lib i put the whole path c:\Windows\System32\pdcurses.lib and that worked.
Does anyone know a good tutorial in curses programming?
Thanks
Last edited by netpumber; 10-31-2011 at 12:43 PM.
Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
What profit hath a man of all his labour which he taketh under the sun?
All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.
Hello once again..
I have read the tutorial but now i want to create a simple menu but i can't do this with pdCurses. The menu.h is nowhere..
When im trying to use it, an error returned.
Is there any way to create a menu with pdCurses ?
Thanks in advance.
How could anyone properly answer such a question, except with "Yes, there is."?
Ok. Here are the clear questions
How to create a menu while the menu.h file doesn't exists ?
Which is the way you could create a menu on pdcurses ?
Last edited by netpumber; 11-02-2011 at 11:03 AM.
You don't. Make sure your setup is correct.How to create a menu while the menu.h file doesn't exists ?
The HOW-TO link above has an excellent example. Read it.Which is the way you could create a menu on pdcurses ?
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.