Để chạy chương trình, chạy các lệnh sau: g++ -c phanloai.cpp test.cpp g++ -o main phanloai.o test.o ./main