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

Got it. It seems game development is no easy for me.