Subj : Re: Creating an array in a function To : borland.public.cpp.borlandcpp From : maeder Date : Sun Jul 25 2004 11:10 am user@domain.invalid writes: > I have an application that creates an array in main() using a const > arraySize. I want to pass the array and arraySize to a function that > will create a two-subscripted array using the arraySize passed to the > function. Every method I've tried results in a message saying a constant > must be used in the array declaration. Can you be a little more specific? What does the array definition in main() look like (C++ code). How do you want to use the array in the function that is passed the array? .