View Single Post
  #12 (permalink)  
Old 02-11-2008, 03:16 PM
adamzgreat adamzgreat is offline
Junior Member
 
Join Date: Feb 2008
Posts: 3
adamzgreat is on a distinguished road
Quote:
static int last_direction = 0;
static int current_dirction = 0;
The static variables are initialized only once? When the variable is declared...

Because if not, the function does not make sense.

Am i right?
Reply With Quote