answersLogoWhite

0

I remember doing this in borland c++ many years ago. The strategy is to write an interrupt handler function that will go out the the character buffer and check to see if a key was pressed. you will need to look up in your borland documentation on what this register would be called. i am too poor to afford a compiler right now. then in your game processing loop you code would look something like: stmts if keypressed then check input buffer for char (process char for the action you want it to do) end if stmts your function "keypressed" would be the one to check the interrupt for this this is also similar to how to handle mouse input. sorry i can't give you more help.

User Avatar

Wiki User

19y ago

What else can I help you with?

Related Questions

Why we can't use semicolon at the end of if ststement?

The computer language has a grammar for the syntax. Not all computer languages using ; to end a statement. The if-statements DO end with an ; (except when a <compound statement>) in C#, C, PHP, and Java (and many others). In fact, most of <statement> end with ; in those languages, and <if-statement> is just one of the derived <statement>. However, for statements like: if (1 == 2) {} else {}, the {} is a <compound statement> which does not end with a ; syntactically.


The meaning of if in C language?

if is a like a choicee.g.if (x==1) if x is equal to 1 then it will print "x=1"{printf("x=1);}else{printf("x does not =1")}Answer: If is an identifier, if is a statement.


How the program statement and code are related?

A statement in your program is part of the code. In a low-level programming language, a statement will map directly to a single CPU instruction. In a high-level programming language, a statement is the smallest element of the language's syntax.


What develop computer language?

Programming language develops computer


What is the abbreviation FOR?

There is no abbrevation for for. There is a FOR loop which is a programming language statement that allows code to be repeated. *.for is a filename extension for FORTRAN, a computer programming language.


What is machince language in computer?

Machine language is a high level language and that laguage is understand by the computer.


Is HTML a computer language?

It is a computer language, but it is not a computer programming language. You cannot write programs with it. It is just for designing the layout of a webpage, and it is a Markup language. Its full title is HyperText Markup Language.


What is the process of writing specific instructions in computer language called?

A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.


Is FORTH a computer language?

Yes. Forth is a stack-based computer language.


What is a 3 letter word for computer language?

computer language 3 letters.


How do you say computer in Kikuyu language?

Computer can be translated into Kikuyu language as komputa.


What is the population of Language Computer Corporation?

Language Computer Corporation's population is 2,010.