I see... you used int c, instead of char c. I didn't notice that before.
Type: Posts; User: Rainer
I see... you used int c, instead of char c. I didn't notice that before.
all i need to know (for now) is how to use this code to detect up arrow, down arrow, and enter.
EDIT:
my compiler: djgpp with rhide IDE
my os: windows 98 (the program is a dos program, though)
thanks for the help...i guess
How do I detect keystrokes that aren't characters, such as cursor keys or shift keys?
I want to be able to run my program in any win32 environment (since it's ANSI, it shouldn't matter, right?) and I have the worst compiler out there, Dev version 4. I've been meaning to get a better...
I know I can use the time(NULL) function to measure amounts of time as little as one second, but how can I measure less than one second?
I'll check those out
[edit]
:eek: <long pause>
uh...
I think perceptrons are about stimuli and response, and though not a math freak, I think I have an idea how they work.
I haven't got the...
Yes, impossible. It's possible, though difficult to make a good illusion of AI, but sci-fi stuff ingrained in pop culture like HAL 9000 or the terminator: That is impossible, computers only do what...
That's the beuty of it. It's not really AI, that's impossible. Its just an illusion, and I have a design.
Besides, I don't want a brain aneurysm my second day on the project, so let's keep the...
I'm designing a program (my first feeble attempt at AI). So far, I've been calling it Hal 1.0, but that's really lame. What I need is an average sounding first name that's an acronym for something....
I tried something unprecedented: Reading the chapter that the program came from. I found this:
"The TransparentBlt() function is part of the Win32 API, but it requires the inclusion of a special...
I think I attached the project as a zip file, but I don't see it when I view the thread. Oh well, here's a link from my website chapter 6.zip
Sorry for the delay; internet trouble. I've been getting the examples to compile a chapter at a time. I'm up to chapter 6, and I get this error:
bitmap.cpp line 226: implicit declaration of 'int...
Thanks, I'll look for that. Does it come with some kind of guide, or is it just the nessesary software?
but wouldn't it make sense that an example from a tutorial that was compiled on the borland compiler should compile on the borland compiler? Wouldn't that only seem logical(which is what programming...
I got strange results. At first I wasn't compiling it as a project at all, and that didn't work. I switched it to a win32 project and it compiled, but the icons were the dev project default icons,...
actionbasti, since you're familiar with the book, here is what happens when I try to compile the example from hour three:
c:\windows\TEMP\ccPvGs1a.o: In function `GameInitialize(HINSTANCE__ *)':
...
But nothing compiles. How am I supposed to learn if nothing compiles? Do you know of any alternatives or game engines that work in Dev?
How can I get started writing games for windows? I bought this book "Teach yourself Game Programming in 24 hours", but none of the examples will compile in Dev, and I can't afford anything else. ...
I am using Bloodshed Dev C++ v4.0.1 with "conio.h" cut-and-pasted from a different compiler, if that helps. I don't think it has any of the windows-related libraries, but I'm about to buy a book on...
that blows, now i have to learn win32 programming.
Is there a function for putting a bitmap (or otherwise) picture file on the screen in dos programming? If there is, how do you use it?
Thanks
Does anybody know how to set a console program to full screen mode?
Never mind now, I got a different version of Dev C++ that had a more *professional* conio.h and it worked. Thanks anyway