1. 기본 구조 #include #include int main() { std::vector nums{ 1.0, 2.0, 3.0 }; int input; while (true) { std::cout > input; try { std::cout 2. exception inheritance load_vector 함수 (안중요)std::vector load_vector(const std::string& filename) { std::ifstream fin(filename); // Open the text file for reading if (fin.good()) { // Did the file open successfully? ..