cpp fetch