/
__FILE__ and __LINE__
__FILE__ and __LINE__
These macros are special in that they give:
__FILE__ - the current C/CPP file being compiled.
__LINE__ - the current line number being processed
So these can be quite useful for specialized problems when we need this information.
, multiple selections available,
Related content
C Preprocessor
C Preprocessor
More like this
Source File
Source File
More like this
Standard in, standard error and standard output redirection
Standard in, standard error and standard output redirection
More like this
C++ Compiler Flags - The Core Ones
C++ Compiler Flags - The Core Ones
More like this
How do you see how the pre-processor processes code?
How do you see how the pre-processor processes code?
More like this
Make Dependency Files for C/C++ Headers
Make Dependency Files for C/C++ Headers
More like this