answersLogoWhite

0


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

18y ago
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...
Submit
Still have questions?
magnify glass
imp
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.


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 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 statement and blocks?

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


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.


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.