Adding prints to cpp files