Skip to main content
gamedev.net
🔒 Locked

Arrays on the stack.

Started by Daishim Dec 6, 2001 at 8:13 PM 4 replies 300+ views
Original Post
Daishim
Daishim
How do I go about putting an array on the stack in C++?

I know only that which I know, but I do not know what I know.
Fruny
Fruny
int a[100];
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Stoffel
Stoffel
alloca = spawn of satan.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.