first write of cpp