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

I’ve already created it, I will send you file once I track down the GPU error.