I encountered the following problem in completing my work: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped) Below is the code I ran: #include <iostream> #include <fstream> #include <exception> using namespace ...