cplusplus-ified camera