"""""
struct snake_place
{
int x ;
int y ;
};
struct snake_data
{
int length ;
struct snake_place snake_array [50] ;
struct snake_place head ;
struct snake_place tail ;
int direction ;
};
struct snake_data snake;
.........
........
void shift1(){
int i;
int snake,length,snake_array;
int snake1;
for (i = 0 ; i < snake1.length - 1 ; i++ ){
snake1.snake_array[i] = snake1.snake_array[i+1] ;
}
}
"""""
in void shift1() there is an error i cant solve.and im in a hurry...
This post has been edited by jimblumberg: 02 February 2013 - 06:09 AM
Reason for edit:: Added missing code tags. Please learn to use them properly.

New Topic/Question
Reply



MultiQuote



|