How to take photos at the same time for multiple cameras in pure C++(without blueprint or sth)?

sorry for that. I’ll try to give you a full version later. Thanks a lot.