ultimatepp/uppdev/Heap/hh.cpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

11 lines
87 B
C++

void Inc(int& a)
{
a++;
}
int x;
void Dec(int& a)
{
if(--a == 0) x++;
}