cpp resource