+ 1

What is the c compiler code to detect #include error

Coding quiz

15th Feb 2021, 8:30 AM
Kithuku Alex
Kithuku Alex - avatar
6 Réponses
+ 3
#include macros are typically processed by the Pre-Processor part.
15th Feb 2021, 10:34 AM
Sonic
Sonic - avatar
+ 3
I didn't get your question ... Compilers come with built-in file checking routines which enables them to check whether a header file to be included exists or not.
15th Feb 2021, 9:47 AM
Ipang
+ 2
What did you mean by "detect #include error"?
15th Feb 2021, 9:07 AM
Ipang
+ 2
Compilers will likely complain if they find that a header file included in a source file cannot be found. If a header file was missing, compiler will stop compilation and show you error message, as I understand.
15th Feb 2021, 9:34 AM
Ipang
0
Compiler code to detect # include is missing
15th Feb 2021, 9:25 AM
Kithuku Alex
Kithuku Alex - avatar
0
Which is the compiler code doing that task
15th Feb 2021, 9:36 AM
Kithuku Alex
Kithuku Alex - avatar