Create a class AutoGrowingArray with the following functionalities as follow:
// AutoGrow Array by increasing the size by 1 at each insertion
Using this function create a 2 MB file. And Use the above three implementations and load both the files (please NEVER output the loaded data onto the screen as it will be too many characters, and console displays very slowly.
Extracted text: Evoid CreateRandomFile(string fn, int Size, int RN=100) { srand(time(0)); ofstream Writer(fn); for (int i = 0; i < size="" *="" 1024="" *="" 1024;="" i++)="" {="" writer="">< rand="" ()="" %="" rn="">< }="">
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here