L
L
lik1732022-04-05 10:28:50
C++ / C#
lik173, 2022-04-05 10:28:50

Is it possible to make define directives?

Can I #define an include?
If yes, how to do it? I could not get.

Can do via void with header argument and include like that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lz961, 2022-04-05
@lz961

You can if you write your own preprocessor.

M
maaGames, 2022-04-06
@maaGames

Instead of a define, you add a bunch of your headers to another header and include this header where you need it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question