Issues in Console Programming

Pages: 123
It is still command prompt box in Windows
And UNIXes. http://invisible-island.net/ncurses/ncurses-intro.html particularly http://invisible-island.net/ncurses/ncurses-intro.html#mouse

In fact ncurses is cross platform; on Windows I think it's pdcurses; so the tutorial should probably cover that when/if he (Duoas) writes it.
Last edited on
Hi, thanks a lot for your information.
And I have a question.

Is there any alternatives for 'kbhit()' from standard libraries. Thanks.
Yes:
1
2
3
4
5
6
7
8
9
#include <windows.h>

bool iskeypressed()
  {
  return WaitForSingleObject(
    GetStdHandle( STD_INPUT_HANDLE ),
    0
    ) == WAIT_OBJECT_0;
  }
http://www.cplusplus.com/forum/general/3389/page1.html#msg14326

Hope this helps.
Interesting...this got stickied. Guessed that means you'll have to finish it some time Duoas. XP
Wasn't this stickied a while back?
Alas, it is currently on the back burner... I won't be able to finish it at least until after I've finished moving and I reinstall Linux (Kubuntu update hosed my system)...

I haven't forgotten it though.
Duoas wrote:
back burner

mrrrph mf mrr mrrrph!
Is that a pyro reference?
EDIT: Bet it is.
Last edited on
IS NOT POSSIBLE!

</derailment>
I love my gas range. (I can't stand electric.)
Don't worry, I know what the backburner is. (was that for Duoas?)
Yes.
Yeah! This is the sort of thing I've been wanting to see.


<a href="http://www.berkeley-term-papers.com">Term papers</a>
Last edited on
Please don't advertise.
Yes. First, you go and join random forums on the internet, and post unrelated advertizing to as many useful threads as you can find...
hi there, i'm new on here and don't if i'm posting the right place but, I have this problem with a program it keeps giving me a "no match for 'operator==' " error, which is really strange. I am trying to compare strings using if-statements and I just don't get why i'm getting that error. Please help, thanks

Hello guys!

any can help me? i find whole C++ library.

Thanks
Not to put any pressure on anybody but is this article series still a go? I'd really like to see
How to set up a nice console-programming environment

Anyway, I hope to see more of these in the future :)
Pages: 123