Explanation of code

-
Hello,
while(key!=27)
{

while(!kbhit()){
putimage(l,t,ball,XOR_PUT);
delay(5);
putimage(l,t,ball,XOR_PUT);
can you explain the above lines of code
See more 

Your reply

1 reply

Posts
14277
Registration date
Monday July 11, 2005
Status
Moderator
Last seen
December 11, 2018
0
Thank you
Hello,

What is the programming language?
What can I say is:

while (user has not hit the Escape key) {
while (user has not hit any key) {
put image somewhere
wait 5 (milli?)seconds
put image somewhere
}
}
Respond to BunoCS