dimanche 24 octobre 2021

Scanning from specific variable using cin in c++

What will be the cin equivalent of scanf code written below I am only aware of cin>>a[i]>>b[i]

scanf_s("x=%d(mod %d)\n", &a[i], &b[i]);

Aucun commentaire:

Enregistrer un commentaire