Console output working, cout is redirected to console.