for loop functions c++ code example
Example: c++ for loops
#include <iostream>
#define FOR(i,a) for (int i = 0; i < a; i++)
FOR(i, 3) cout << i << endl;
#include <iostream>
#define FOR(i,a) for (int i = 0; i < a; i++)
FOR(i, 3) cout << i << endl;