Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

define for loop c++

#define FOR(x,a,b) for(int x = a; x <= b; x++)
#define FOD(x,a,b) for(int x = a; x >= b; x--)
#define REP(x,a,b) for(int x = a; x < b; x++)
#define RED(x,a,b) for(int x = a; x > b; x--)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #define #loop
ADD COMMENT
Topic
Name
2+6 =