"\n" พิมพ์ newline (platform-specific: Windows = \r\n, Unix = \n)
std::endl ทำ 2 สิ่ง: (1) พิมพ์ newline (2) flush stream (บังคับส่งข้อมูลออกทันที)
แนวทางปฏิบัติ: ใช้ \n ในกรณีทั่วไป เพราะ flush บ่อยๆ ทำให้ช้าลง (performance) ใช้ std::endl เฉพาะต้องการให้ output แสดงทันที (เช่น logging, progress bar, interactive prompt)