Euler in cpp