This should do the job, assuming that the_wheel is a global variable:
{
    spin_wheel();
}
-- 
NOTE: I CAN'T SEND/RECEIVE E-MAIL HERE!!!  Use --> davi...@ecn.purdue.edu <--
      During (roughly) August 20-25, I will be in transit.  Please be patient.
      The opinions and other information contained herein are not necessarily
      representative of Northern Telecom or any of its subsidiaries. 
>Can anybody tell me a code in c to spin the wheel after drawing it.
>thanks...
I've heard of _reinventing_ the wheel, but....
What the f*ck are you talking about?
-- 
Paul Tomblin, p...@geovision.gvc.com
(This is not an official opinion/statement of GeoVision Systems Inc.)
Anybody who doesn't wear a helmet when biking probably _will_ have their head
examined - by a coroner
Dunno ... maybe rotating your screen might help?
No seriously, you have to be a bit more specific about this. We can't
help you when you don't give us a _bit_ more information about your
problem.
kind regards,
Jos aka j...@and.nl
>Can anybody tell me a code in c to spin the wheel after drawing it.
>thanks...
This question *is* in the frequently-asked-questions list, but for
your benefit...
% man spinthewheel
     Name
	  spinthewheel - spins the wheel after drawing it.
     Syntax
	  int spinthewheel (wheel, direction)
          wheel *wheel;
          int direction;
     Description
          spinthewheel spins the wheel after drawing it.  The first
          argument is a pointer to the wheel to spin; the second is
          the direction in which to spin the wheel, and must be
          assigned one of the following:
          LEFT  - spin the wheel left
          RIGHT - spin the wheel right
     See Also
	  drawthewheel(S), rotatethewheel(S)
     Note
          The spectral properties of spinthewheel are limited.
          rotatethewheel provides a much better, more elaborate,
          wheel spinner.
% 
Murray
-- 
I've got tapes, I've got C.D.s  |  Murray Nesbitt  - m...@pseudo.uucp
I've got my Public Enemy        |