hello.....

iam new memeber,and may be my quistion is easy to ask it,but really i need to help me in my problem.

we know that the size of any array must be determined befor the running time,since it static location, my quistion is:

if i need to make aprogramme in c++ languge,that generate an array in eacg time with random size.......

for example :

at first the size of the array is 500,then 1000,then1500,then2000,then 2500,......,5000

i want if you can to sent to me a c++ programme that doing that.

the poupes of this problem:

my instructor ask me to write a c++ programme that compute the time that each of the sorting algorithms (insertion,selection,merge,heap,quick) in each time with diffrent size of

Do my homework for me

Narue was here? :)

Post your code and you will recieve help

Niek

There is already a class named vector, just try to get some idea how it is implemented, your homework would be easy then.

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.