??? 11/05/05 23:41 Read: times |
#103329 - Is it effective on .obj or .lib? Responding to: ???'s previous message |
I think your approach using token-pasting operator(##) is fine, as long as you supply the source code of "main.c" to users. However, if you plan to supply only .obj or .lib, it doesn't work. Macros are only effective on source codes, and they are fixed when they are compiled to objects.
Tsuneo |
Topic | Author | Date |
#define -- using ## | 01/01/70 00:00 | |
Is it effective on .obj or .lib?![]() | 01/01/70 00:00 |