incremented define?

前端 未结 4 1470
遥遥无期
遥遥无期 2021-01-13 15:48

Is there anyways to have a define increment every time you use it?

For example

int a = ADEFINE;
int b = ADEFINE;

a is 1 and b is 2.

4条回答
提交回复
热议问题