Can someone please give me some sample code on how I would be able to make an array of N elements. Where N is input by the user. I know a way of making say 'int num[100];' and when checking only checking until the counter variable equals N, but then wouldn't that waste the extra memory that was already allocated? Can you explain how after you input a number only allocate that many array elements? Or how about later on can you change the size of the array on the fly? Thanks again.