enums Start At 0

It will start at 0 and increment up along the way.

linux kernel

printk("file %s, line %d: %s\n", __FILE__, __LINE__, __FUNCTION__);

C lib

#define PRINT printf ("This is line %d of file %s (function %s)\n",\
                      __LINE__, __FILE__, __func__)
int main() {
    PRINT;
}

标签: c/c++

添加新评论