new cout2 for c++-mode