Quote:
|
Originally Posted by Kulz
can't use malloc() as i want a static array of structures and not a dynamic one..
|
lol. static by definition means that once you declare it, it doesn't change. So you want a 'static' array which is to hold more than you originally declared it to, which just won't work out.
Learn dynamic memory allocation, it's worth the hassle.