domaca_uloha_7
This commit is contained in:
parent
04a2781b0a
commit
886f158cec
@ -2,7 +2,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
struct snake* add_snake(struct snake* snake,int x,int y){
|
||||
struct snake* novyZaciatok;
|
||||
struct snake* novyZaciatok = calloc(1, sizeof(struct snake));
|
||||
novyZaciatok->x = x;
|
||||
novyZaciatok->y = y;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user