Array max value

Hi guys, a little quick question here.

I am looking to set an array to the maximum/infinite value, is there any function within Microsoft Visual Studio 2012 that will let me do this?

Why do you want to create an array so large?
I am creating a program where the user has to input how many employee's are working within a company e.g. if there are 100 employees I have to input all 100 employees names then output the names in the same order using the array.
What does that have to do with "infinity"?
well if the user has the possibility of entering any number would that not mean they would require an infinite number? I currently have it set up where I can set the value in the array e.g. MyArray[8] and then enter in the 8 employees names and get them to output the names in the order I entered them using another loop.
You must learn about the concept of "dynamic memory mamangement".

The obvious route would be to use std::vector or std::list which automagickally grow as needed.
Sorry for the belated reply, thank you. There is a good example of dynamic memory management right here on cplusplus!
Topic archived. No new replies allowed.