array of static ints...

Joined
Oct 27, 2007
Messages
1
Reaction score
0
So, I'm trying to create an array of static ints (you know, where the ints themselves are static):

static int bob[37];

The above seems to cause the pointer to the first element to be static but the ints themselves not to be. (perhaps not quite properly said there but fairly close... close enough that you likely understand what I mean)

How would one do this? Is it even possible in ISO/ANSI C?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top