Remove cout function

Can be compiled