> For the complete documentation index, see [llms.txt](https://notes.tejpratapsingh.com/_/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.tejpratapsingh.com/_/cpp/code/pre-processors/predefined-macros.md).

# Predefined Macros

```cpp
std::cout << "This file: " << __FILE__ << std::endl;
std::cout << "This line: " << __LINE__ << std::endl;
std::cout << "Compiled on: " << __DATE__ << " at " << __TIME__ << std::endl;
```
