Is there a way to allocate memory on stack instead of heap? I can't find a good book on this, anyone here got an idea?