Search Results

Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: Diode
Forum: C++ Sep 23rd, 2006
Replies: 3
Views: 3,558
Posted By Diode
I tried typing

printf("\033[34m");

for blue foreground color, and other values, but nothing worked. So I included:

device=D:\WINDOWS\system32\ansi.sys

and
Forum: C Sep 23rd, 2006
Replies: 17
Views: 10,388
Posted By Diode
What is the top decimal value that kbhit() catches when you hit a key? I didn't know about kbhit. So I coded the entire thing from scratch. It works. But the UP arrow key for example is " H", that...
Forum: C Sep 23rd, 2006
Replies: 17
Views: 10,388
Posted By Diode
Ok let me whip up a simple program to demonstrate it. No point in pasting all my hundreds of lines of code for one trivial matter.

It will take me a little while to make a simple program but I...
Forum: C Sep 22nd, 2006
Replies: 17
Views: 10,388
Posted By Diode
Nevermind, I figured it out.

But thanks anyway :)
Diode
Forum: C Sep 21st, 2006
Replies: 17
Views: 10,388
Posted By Diode
I know they don't have standard ASCII values, but how do you check for them?

I am making a command prompt-type interface for a text-based RPG a friend and I are making, and I would like to be...
Forum: C++ Sep 18th, 2006
Replies: 5
Views: 1,150
Posted By Diode
Whoops, sorry Ancient Dragon, I clicked on Advanced Reply before I realized that you had responded. I plan on coding for backspaces and everything else that is nice later, possibly tonight.
...
Forum: C++ Sep 18th, 2006
Replies: 5
Views: 1,150
Posted By Diode
Hello, :)

I have chosen to go with getch() for my keyboard input.

However, when I went to experiment with it, I got some unexpected results. The 'Y' in 'Your word was ' is missing in the...
Forum: C++ Sep 18th, 2006
Replies: 5
Views: 2,815
Posted By Diode
Ok,

I'm using the Dev-C++ 4 compiler along with gcc.

I would have preferred it to be standard C, but since you informed me that it cannot be done with standard C, then I might have to suffer a...
Forum: C++ Sep 18th, 2006
Replies: 5
Views: 2,815
Posted By Diode
Hello,

I am trying to develop something that, when you press a character on the keyboard, puts a char into a char-type variable. Should be easy right? Well, I don't want to require the user to...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC