New course! Every coder should learn Generative AI!
Try a free lesson0
#include <iostream>
using namespace std;
int main(){
//Use "\\"instead of "\" while writing address
system("open C:\\myphoto.jpg");
//replace C:\\myphoto.jpg with your photo's
//address
return 0;}
I didn't try it myself but write back if it doesn't work.