http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with getch( )



============================================================
Tupperware®
Celebrate Father’s Day with FREE SHIPPING on orders $75 or
more!  Offer expires 6/16!   Click here to begin shopping!
http://click.topica.com/caaackjbUrGczbU68iFa/Tupperware
============================================================

Hi,

erm...you could try something like this:

main()
{
  if(getch()!= /*put the keys to be tested for*/ || getch == NULL /*ie. no key is pressed*/)
  {
     UpdateBackground();
  }
  else
  {
     RedrawShipAtNewLocation();
     UpdateBackground();
  }
}

This should work - i am not sure tho.

Rob

============================================================
How much can you save on your favorite stuff?
With TopOffers, the sweet deals & super savings never stop.
http://click.topica.com/caaacgNbUrGczbU68iFf/TopOffers
============================================================

==^================================================================
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrGcz.bU68iF
Or send an email To: gameprogrammer-unsubscribe@topica.com
This email was sent to: list@pendleton.com

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================