Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- ifstream file;
- ofstream ofile;
- int arr[500];
- int swapcount = 0;
- filecallfunc(file);
- functobuildarray(file, arr);
- bubbleSort(swapcount, arr);
- displayarray(arr);
- outfilecall(ofile);
- outfileprint(ofile, arr, swapcount);
- ofile.close();
- file.close();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement