Issues in Console Programming

Pages: 123
Oct 29, 2009 at 12:33am
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 Oct 29, 2009 at 12:34am
Mar 3, 2010 at 12:28am
Hi, thanks a lot for your information.
And I have a question.

Is there any alternatives for 'kbhit()' from standard libraries. Thanks.
Mar 3, 2010 at 3:21am
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.
Mar 11, 2010 at 12:02am
Interesting...this got stickied. Guessed that means you'll have to finish it some time Duoas. XP
Mar 11, 2010 at 12:48am
Wasn't this stickied a while back?
Mar 11, 2010 at 1:00am
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.
Mar 11, 2010 at 8:15am
Duoas wrote:
back burner

mrrrph mf mrr mrrrph!
Mar 11, 2010 at 10:36pm
Is that a pyro reference?
EDIT: Bet it is.
Last edited on Mar 11, 2010 at 10:36pm
Mar 13, 2010 at 1:14am
IS NOT POSSIBLE!

</derailment>
Mar 13, 2010 at 3:31am
I love my gas range. (I can't stand electric.)
Mar 13, 2010 at 4:45pm
Mar 17, 2010 at 10:08pm
Don't worry, I know what the backburner is. (was that for Duoas?)
Mar 18, 2010 at 8:35am
Yes.
Mar 27, 2010 at 10:40am
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 Mar 27, 2010 at 10:40am
Mar 27, 2010 at 6:53pm
Please don't advertise.
Apr 19, 2010 at 6:49am
Apr 19, 2010 at 12:01pm
Yes. First, you go and join random forums on the internet, and post unrelated advertizing to as many useful threads as you can find...
Jul 12, 2010 at 2:45pm
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

Jul 15, 2010 at 11:46am
Hello guys!

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

Thanks
Sep 12, 2010 at 4:55am
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