Just wondering if the condition of an if statement can be a for loop in C++14. For example:
if
for
using namespace std; if (for (int i = 0; i < 10; i++)){ cout << "The number now is " << i << endl; }
Aucun commentaire:
Enregistrer un commentaire