PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my settings
my profile
Public Pastes
Untitled
16 sec ago
Why does this Java...
8 sec ago
FilePost PREMIUM C...
15 sec ago
Untitled
11 sec ago
How do I make a C+...
14 sec ago
Theme 1
HTML | 38 sec ago
KĂ–RTOSIS OCH SKUW...
17 sec ago
Fileape PREMIUM CO...
30 sec ago
foreach
By: a guest on May 9th, 2010 | syntax:
C
| size: 0.15 KB | hits: 102 | expires: Never
download
|
raw
|
embed
|
report abuse
Copied
#define foreach(item, array) \
int count=0, size=sizeof(array)/sizeof(*(array)); \
for(item = (array); count != size; count++, item = (array)+count)
create a
new version
of this paste
RAW Paste Data
#define foreach(item, array) \ int count=0, size=sizeof(array)/sizeof(*(array)); \ for(item = (array); count != size; count++, item = (array)+count)