how can make to instructions simultaneously run example:
in main() how can i make two functions example movescreen() and moveship run at the same time...
thanks )
how can make to instructions simultaneously run example:
in main() how can i make two functions example movescreen() and moveship run at the same time...
thanks )
If
movescreen();
moveship();
take less than your screen refresh time, how would the user ever know?
Get thread programming wrong and you'll have one hell of a bug-fest on your hands.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.