Hi I need to have an array in my program that is defined by the user. I just need the user to enter the size of the array and then enter the integer values that they want to store in the array.
I know how to declare the array myself, and Ive looked around and I cant find a straightforward solution to my problem. Any help/suggestions will be greatly appreciated.
Thankyou
TrueCoding
TrueCoding 7 Junior Poster in Training
Dervish1 37 Newbie Poster
TrueCoding 7 Junior Poster in Training
vinitmittal2008 37 Junior Poster
TrueCoding 7 Junior Poster in Training
vinitmittal2008 37 Junior Poster
TrueCoding 7 Junior Poster in Training
vinitmittal2008 37 Junior Poster
TrueCoding 7 Junior Poster in Training
vinitmittal2008 37 Junior Poster
TrueCoding 7 Junior Poster in Training
vinitmittal2008 37 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.