Skip to main content
Added code tags around the `cpp` invokation; done some other fixes while I'm at it
Source Link
Tim Čas
  • 11k
  • 3
  • 30
  • 33

how How to include multiple directories to search header files in c pre processorC preprocessor

I am using cpp -I.dir_namecpp -Idir_name command to c pre processpreprocess the source file. In dir_namedir_name I have header files included that needsneed to nebe used for pre processingpreprocessing. I

I want to add multiple directories that can be searched for header files. How can i do this?

how to include multiple directories to search header files in c pre processor

I am using cpp -I.dir_name command to c pre process the source file. In dir_name I have header files included that needs to ne used for pre processing. I want to add multiple directories that can be searched for header files. How can i do this?

How to include multiple directories to search header files in C preprocessor

I am using cpp -Idir_name command to preprocess the source file. In dir_name I have header files included that need to be used for preprocessing.

I want to add multiple directories that can be searched for header files. How can i do this?

edited tags
Link
Paul R
  • 214.1k
  • 38
  • 402
  • 579
edited tags
Link
Paul R
  • 214.1k
  • 38
  • 402
  • 579
Source Link
Aabha Geed
  • 49
  • 2
  • 11
Loading