1//'i' can be any number
2//Can be any comparison operater
3//can be any number compared
4//can be any mathmatic operater
5
6for (int i = 0; i<100; i++){
7//Do thing
8}
9
10//more info on operaters
11//https://www.w3schools.com/cpp/cpp_operators.asp
1#define FOR(x,a,b) for(int x = a; x <= b; x++)
2#define FOD(x,a,b) for(int x = a; x >= b; x--)
3#define REP(x,a,b) for(int x = a; x < b; x++)
4#define RED(x,a,b) for(int x = a; x > b; x--)
1#include <iostream>
2#define FOR(i,a) for (int i = 0; i < a; i++)
3
4FOR(i, 3) cout << i << endl;