|
Arrays, pointers, vectors, oh my!
#304953
01/12/10 03:59
01/12/10 03:59
|
Joined: Sep 2008
Posts: 68
Tai
OP
Junior Member
|
OP
Junior Member
Joined: Sep 2008
Posts: 68
|
So, I define the following
var crowd_num = 0;
VECTOR* crowd_pos[100];
ENTITY* crowd[100];
I assign the crowd number with a the crowd_num variable which I add to at the start of the action And then I do this...
vec_set(crowd_pos[0],my.x);
It crashes! Why?
|
|
|
Entire Thread
|
Arrays, pointers, vectors, oh my!
|
Tai
|
01/12/10 03:59
|
Re: Arrays, pointers, vectors, oh my!
|
GorNaKosh
|
01/12/10 09:10
|
Re: Arrays, pointers, vectors, oh my!
|
Spirit
|
01/12/10 09:23
|
Re: Arrays, pointers, vectors, oh my!
|
Tai
|
01/12/10 17:08
|
Re: Arrays, pointers, vectors, oh my!
|
Tobias
|
01/12/10 17:17
|
Re: Arrays, pointers, vectors, oh my!
|
Tai
|
01/12/10 23:54
|
Re: Arrays, pointers, vectors, oh my!
|
Nidhogg
|
01/13/10 06:43
|
Re: Arrays, pointers, vectors, oh my!
|
Tai
|
01/13/10 16:28
|
Re: Arrays, pointers, vectors, oh my!
|
Widi
|
01/13/10 16:36
|
Re: Arrays, pointers, vectors, oh my!
|
Tai
|
01/13/10 16:44
|
Re: Arrays, pointers, vectors, oh my!
|
Quad
|
01/13/10 16:47
|
Re: Arrays, pointers, vectors, oh my!
|
Tai
|
01/13/10 16:54
|
Re: Arrays, pointers, vectors, oh my!
|
Tobias
|
01/13/10 17:42
|
Re: Arrays, pointers, vectors, oh my!
|
Widi
|
01/14/10 10:20
|
Re: Arrays, pointers, vectors, oh my!
|
JibbSmart
|
01/14/10 12:09
|
|
|