有没有办法用预处理器宏创建char *数组和int数组?
问题描述:
在C ++中有没有办法用预处理器宏创建char *数组和int数组?
In C++ is there a way to create char* array and int array with a pre-processor macro?
以及如何在宏中初始化数组?
and How to initialize array in macro?
答
为什么要将预处理器用于这些任务?
Why would you want to use the preprocessor for these tasks?