I am making program that allows the user to determine how big the array size will be and then asks the user to make up numbers to fill the array. Every time run the program on Dev C++ it says "program has stopped working"
Can someone please help me with it. Please And Thank You!
Computers are too stupid to do things out of order. You have to ask the user -- and get -- the size before you can use it.
The next issue is that C++ disallows you to create an array that way. Either use a std::vector or just make your array really big and ignore any elements more than the user asked for.