- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
#define _FOR_UINT for(UINT i=0;i<nCount;i++)
#define _FOR_INT for(int i=0;i<nCount;i++)
#define _FOR_UINT_B for(UINT i=nCount-1;i>=0;i--)
#define _FOR_INT_B for(int i=nCount-1;i>=0;i--)
#define _FOR_UINT_2 for(UINT i2=0;i2<nCount2;i2++)
#define _FOR_INT_2 for(int i2=0;i2<nCount2;i2++)
#define _FOR_UINT_B2 for(UINT i2=nCount2-1;i2>=0;i2--)
#define _FOR_INT_B2 for(int i2=nCount2-1;i2>=0;i2--)
#define FOR_UINT(nCount) for(UINT i=0;i<nCount;i++)
#define FOR_UINT2(nCount) for(UINT i2=0;i2<nCount;i2++)
#define FOR_INT(nCount) for(int i=0;i<nCount;i++)
#define FOR_INT_P2(nCount) for(int i=0;i<nCount;i+=2)
#define FOR_INT_B(nCount) for(int i=nCount-1;i>=0;i--)
#define FOR_INT2(nCount) for(int i2=0;i2<nCount;i2++)
#define FOR_INT3(nCount) for(int i3=0;i3<nCount;i3++)
#define FOR_I(nStart,nCount) for(int i=nStart;i<nCount;i++)
#define FOR_I0(nStart,nCount) for(int i0=nStart;i0<nCount;i0++)
#define FOR_I2(nStart,nCount) for(int i2=nStart;i2<nCount;i2++)
#define FOR_I3(nStart,nCount) for(int i3=nStart;i3<nCount;i3++)
#define FOR_I4(nStart,nCount) for(int i4=nStart;i4<nCount;i4++)
inkanus-gray 14.10.2016 16:44 # +7
А то код недостаточно общий.
Antervis 14.10.2016 21:57 # +4
bormand 14.10.2016 21:58 # +3
roman-kashitsyn 14.10.2016 16:55 # +2
roman-kashitsyn 14.10.2016 17:17 # 0
bormand 14.10.2016 19:05 # +1
З.Ы. Или там #define UINT int?
Dr_Stertor 14.10.2016 19:08 # +2
Cardinal не предлагать.
bormand 15.10.2016 11:58 # +1
Steve_Brown 14.10.2016 17:28 # +8
3_dar 14.10.2016 18:30 # −9
yog_muskrat 14.10.2016 18:42 # 0
inkanus-gray 14.10.2016 18:54 # +1
bormand 14.10.2016 18:56 # +7
guest 14.10.2016 18:58 # −5
FOR_PAPA
FOR_DYADYA_JENYA
Antervis 14.10.2016 19:27 # +4
guest 14.10.2016 21:16 # −9
guest 14.10.2016 21:23 # −15
guest 14.10.2016 22:14 # −30
guest 14.10.2016 22:45 # −24
dxd 15.10.2016 10:14 # +3
inkanus-gray 15.10.2016 14:45 # 0
passiv 15.10.2016 17:24 # −72
guest 15.10.2016 18:00 # −9
passiv 15.10.2016 18:10 # −75
guest 15.10.2016 20:24 # −9
guest 15.10.2016 20:24 # −10
passiv 15.10.2016 20:47 # −64
guestinho 15.10.2016 21:15 # −10
passiv 15.10.2016 23:13 # −64