Idnefier Endl w Undefince

try adding: std:: before both of your endl's 
Determined Deer