Best Answer

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

โˆ™ 2006-03-26 02:44:46
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In language Borland C How do you make a computer program accept input without stopping it with a specific input statement For example: Asteroids game-program runs but accepts arrow keys while running?
Write your answer...
Related questions

An instruction in computer language is called?

Words instruction, statement and command are all used in 'computer language', they are similar but not the exactly the same thing.

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.

The meaning of if in C language?

C ia a basic computer language to make applications. The meaning of "if in C language" is making a statement about something that would apply to C language.

What is syntax and semantics in computer terminology?

Syntax refers to the structure and rules (grammar) of a programming language. Semantics refer to the meaning of a statement.

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.

Difference between software and computer language?

Computer language is used to compile the software. A software is compiled by computer language and is a program on the computer.

What develop computer language?

Programming language develops computer

What is the difference between Expression and Statement?

It depends on the language in context/question.The answer to this question is actually in that computer language specification. Every computer language has its own specification/definition of "expression" and "statement". There maybe some languages that do not even define what a statement is (no notion of statements, only expressions)If you have 1 particular computer language in mind, it may break the concept belowIn general:An EXPRESSION can be evaluated to a value.A statement does something.Same terms may not be in the same definition in 2 different languagesThe evaluation of an expression may do something itself, like calling a function in an expression like:100 * Call_A_SUB()Call_A_SUB() is a function returns a value to be multiplied to 100. It may have done something (statements) before returning a final value!!

What is machince language in computer?

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

What are the importance of computer to English language?

important of computer to Englishlanguage

First computer language?

The oldest computer language still in use is Fortran, invented in 1957. The first computer language was assembly language, but the first high level programming language was Plankalkul.

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.

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.

When was FACT computer language created?

FACT computer language was created in 1959.

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.

When was Language Computer Corporation created?

Language Computer Corporation was created in 1995.

What is Language Computer Corporation's population?

Language Computer Corporation's population is 12.

What is a Language that uses imagery and comparisons to make a statement?

Figurative language

How does a computer execute a program in high level language?

A computer does not execute a program in a high level language. A computer executes a program in machine language. The high level language is converted into machine language by a compiler. Alternatively, an interpreter executes on the computer in machine language and the interpreter executes the high level language.

What is statement and blocks?

A statement is a single instruction in a language; a block is a group of instructions.

What is statement terminator in c language?

A statement in C ends with a semi-colon.

What is the C language of computer?

C language is a computer programming language, which allows one to develop programs for users.

Programming language used in computer networking?

java is the language used in computer networking.