Test: off_by_one.cpp off_by_one.cpp: In function 'void printTopRow()': off_by_one.cpp:3:10: error: 'cout' is not a member of 'std' 3 | std::cout << "Top row: "; | ^~~~ off_by_one.cpp:1:1: note: 'std::cout' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | // Matrix class - fix off-by-one bug in printTopRow off_by_one.cpp:5:14: error: 'cout' is not a member of 'std' 5 | std::cout << data_[0][i] << " "; | ^~~~ off_by_one.cpp:5:14: note: 'std::cout' is defined in header ''; did you forget to '#include '? off_by_one.cpp:5:22: error: 'data_' was not declared in this scope 5 | std::cout << data_[0][i] << " "; | ^~~~~ off_by_one.cpp:7:10: error: 'cout' is not a member of 'std' 7 | std::cout << std::endl; | ^~~~ off_by_one.cpp:7:10: note: 'std::cout' is defined in header ''; did you forget to '#include '? off_by_one.cpp:7:23: error: 'endl' is not a member of 'std' 7 | std::cout << std::endl; | ^~~~ off_by_one.cpp:1:1: note: 'std::endl' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | // Matrix class - fix off-by-one bug in printTopRow